diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-29 14:31:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-29 14:31:05 +0400 |
commit | 37489d71c7f0007ffc3aa252a4cc63d1aa903399 (patch) | |
tree | 8d535c6ff229d8a30855a88a8cb3e2051e0485e8 /source/blender/bmesh/bmesh.h | |
parent | 97a5cd92bc807a03c4983ec70b1b961491062b13 (diff) |
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.
Diffstat (limited to 'source/blender/bmesh/bmesh.h')
-rw-r--r-- | source/blender/bmesh/bmesh.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/bmesh/bmesh.h b/source/blender/bmesh/bmesh.h index f593f78bab7..3b33513b575 100644 --- a/source/blender/bmesh/bmesh.h +++ b/source/blender/bmesh/bmesh.h @@ -268,8 +268,9 @@ extern "C" { #include "intern/bmesh_inline.h" -#include "tools/bmesh_decimate.h" #include "tools/bmesh_bevel.h" +#include "tools/bmesh_decimate.h" +#include "tools/bmesh_triangulate.h" #ifdef __cplusplus } |