Commit: ddb5f962959d3ceead4137ab63b1237685198de8
Author: Campbell Barton
Date:   Mon Apr 27 03:35:16 2015 +1000
Branches: master
https://developer.blender.org/rBddb5f962959d3ceead4137ab63b1237685198de8

Sculpt: symmetrize was leaving edge-tags dirty

This is used for the edge-queue

===================================================================

M       source/blender/editors/sculpt_paint/sculpt.c

===================================================================

diff --git a/source/blender/editors/sculpt_paint/sculpt.c 
b/source/blender/editors/sculpt_paint/sculpt.c
index 40ef897..1d2f623 100644
--- a/source/blender/editors/sculpt_paint/sculpt.c
+++ b/source/blender/editors/sculpt_paint/sculpt.c
@@ -4966,6 +4966,9 @@ static int sculpt_symmetrize_exec(bContext *C, wmOperator 
*UNUSED(op))
                     sd->symmetrize_direction, 0.00001f);
        sculpt_dynamic_topology_triangulate(ss->bm);
 
+       /* bisect operator flags edges (keep tags clean for edge queue) */
+       BM_mesh_elem_hflag_disable_all(ss->bm, BM_EDGE, BM_ELEM_TAG, false);
+
        /* Finish undo */
        BM_log_all_added(ss->bm, ss->bm_log);
        sculpt_undo_push_end();

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to