Triangulate modifier no longer uses bmesh operator api call, instead add a BM_mesh_tr...
authorCampbell Barton <ideasman42@gmail.com>
Tue, 29 Jan 2013 10:31:05 +0000 (10:31 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 29 Jan 2013 10:31:05 +0000 (10:31 +0000)
commit37489d71c7f0007ffc3aa252a4cc63d1aa903399
tree8d535c6ff229d8a30855a88a8cb3e2051e0485e8
parent97a5cd92bc807a03c4983ec70b1b961491062b13
Triangulate modifier no longer uses bmesh operator api call, instead add a BM_mesh_triangulate() function. Gives ~2x speedup in my tests on an optimized build.
source/blender/bmesh/CMakeLists.txt
source/blender/bmesh/bmesh.h
source/blender/bmesh/intern/bmesh_polygon.c
source/blender/bmesh/intern/bmesh_polygon.h
source/blender/bmesh/operators/bmo_triangulate.c
source/blender/bmesh/tools/bmesh_triangulate.c [new file with mode: 0644]
source/blender/bmesh/tools/bmesh_triangulate.h [new file with mode: 0644]
source/blender/modifiers/intern/MOD_triangulate.c