diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-20 07:29:12 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-20 07:29:12 +0400 |
commit | e8667421ed4a72ceec9c73b4599e4f7f9b06b346 (patch) | |
tree | d21f1216c6de3dc17aec0079737909477165cb39 /source/blender/modifiers | |
parent | 050e220a98fde3d077c974d19416babb08147360 (diff) |
bmesh operator api edits, add macros and NULL the buffer if BMO_slot_buffer_alloc()'s len is zero.
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_triangulate.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/modifiers/intern/MOD_triangulate.c b/source/blender/modifiers/intern/MOD_triangulate.c index 7dfbadac142..1e5b10e3d62 100644 --- a/source/blender/modifiers/intern/MOD_triangulate.c +++ b/source/blender/modifiers/intern/MOD_triangulate.c @@ -53,9 +53,6 @@ static DerivedMesh *triangulate_dm(DerivedMesh *dm, const int flag) result = CDDM_from_bmesh(bm, FALSE); BM_mesh_free(bm); - /* we don't really need to calc edges, - * this is called to update the origindex values - * This could be made into a different function? - Campbell */ CDDM_calc_edges(result); CDDM_calc_normals(result); |