diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-12-01 09:41:03 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-12-01 09:41:03 +0400 |
commit | e3ee0b1d38fc78738a307480dfc6513a23549454 (patch) | |
tree | 8f9586feafd506b7e2d0d8fd7d8f0848c729aca4 /source/blender | |
parent | 596b6e207eae2e7ea0c95f671a98b432b8f2e8be (diff) |
Fix for beauty option for triangulate (modifier and tool)
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_polygon.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source/blender/bmesh/intern/bmesh_polygon.c b/source/blender/bmesh/intern/bmesh_polygon.c index c09fb6d6b22..2a7b32d8c22 100644 --- a/source/blender/bmesh/intern/bmesh_polygon.c +++ b/source/blender/bmesh/intern/bmesh_polygon.c @@ -938,6 +938,7 @@ void BM_face_triangulate(BMesh *bm, BMFace *f, BM_elem_index_set(e, edge_array_len); /* set_dirty */ edge_array[edge_array_len] = e; edge_array_len++; + BM_elem_flag_enable(e, BM_ELEM_TAG); } if (use_tag) { @@ -945,11 +946,7 @@ void BM_face_triangulate(BMesh *bm, BMFace *f, } } - else { - if (use_tag) { - BM_elem_flag_disable(e, BM_ELEM_TAG); - } - } + /* note, never disable tag's */ } while ((l_iter = l_iter->next) != l_first); } } |