Fix T59640: Transform w/ auto-merge & hidden verts crashes
[blender.git] / source / blender / editors / sculpt_paint / sculpt.c
index 95205ad69f23d199ebfc99c18aacaf5d7b00e2ec..2a49c6dc388727fca89aa4ee4fefbc86c376b127 100644 (file)
@@ -5578,7 +5578,7 @@ static int sculpt_symmetrize_exec(bContext *C, wmOperator *UNUSED(op))
        BM_mesh_toolflags_set(ss->bm, true);
 
        /* Symmetrize and re-triangulate */
-       BMO_op_callf(ss->bm, BMO_FLAG_DEFAULTS,
+       BMO_op_callf(ss->bm, (BMO_FLAG_DEFAULTS & ~BMO_FLAG_RESPECT_HIDE),
                     "symmetrize input=%avef direction=%i  dist=%f",
                     sd->symmetrize_direction, 0.00001f);
        sculpt_dynamic_topology_triangulate(ss->bm);