real fix for [#35097], (curve cap flipping).
authorCampbell Barton <ideasman42@gmail.com>
Fri, 26 Apr 2013 21:04:12 +0000 (21:04 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 26 Apr 2013 21:04:12 +0000 (21:04 +0000)
commit5018ea5e29fad0404ca4871aa3eff4599cc04878
treeaa398c63044355030723a0721f310ed8f8343bd2
parent357198d88590dbc90751bdf0daf59f25d984bb59
real fix for [#35097], (curve cap flipping).

previous commit was incorrect, the face flipping depended on the orientation of the curve.

fix by passing the bevel direction to the fill function so we can have a reliable front/back.

This also gives some speedup for all curve filling since we can avoid calculating the normal since its already known.
source/blender/blenkernel/BKE_displist.h
source/blender/blenkernel/intern/displist.c
source/blender/blenlib/intern/scanfill.c
source/blender/editors/mesh/editmesh_select.c
source/blender/python/mathutils/mathutils_geometry.c