Sculpt: symmetrize was leaving edge-tags dirty
authorCampbell Barton <ideasman42@gmail.com>
Sun, 26 Apr 2015 17:35:16 +0000 (03:35 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 26 Apr 2015 17:35:16 +0000 (03:35 +1000)
This is used for the edge-queue

source/blender/editors/sculpt_paint/sculpt.c

index 40ef8970d68ffe4200f73f356b84f21cccbbe1d0..1d2f623bf9d7d2f0a27abfc7f362d36fcf10cfdd 100644 (file)
@@ -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();