rewrite edgenet fill bmesh operator.
authorCampbell Barton <ideasman42@gmail.com>
Fri, 16 Aug 2013 14:18:54 +0000 (14:18 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 16 Aug 2013 14:18:54 +0000 (14:18 +0000)
commitef8ea14f459e0e765e07fc48858c18dc11cfdfb5
tree01af1661f43fc2f2689888971cfe8709bc11e6e8
parent36c530dec917d548de24d5c31ed77a2ab565ed05
rewrite edgenet fill bmesh operator.

previous code created faces with mixed face-flipping and could get very slow,
test with ~60,000 edges here hung my system for over 2min (didnt wait for it to finish), new code executes in about 1 second.

new code doesn't attempt to flip faces correctly, its quite involved to do so, especially when the new faces are not created adjacent to eachother.
so simpler to calculate normals afterwards.
source/blender/bmesh/CMakeLists.txt
source/blender/bmesh/bmesh.h
source/blender/bmesh/operators/bmo_create.c
source/blender/bmesh/operators/bmo_edgenet.c
source/blender/bmesh/operators/bmo_normals.c
source/blender/bmesh/tools/bmesh_edgenet.c [new file with mode: 0644]
source/blender/bmesh/tools/bmesh_edgenet.h [new file with mode: 0644]