add axis option to EDBM_verts_mirror_cache_begin
This commit is contained in:
@@ -1121,7 +1121,7 @@ static int edbm_do_smooth_vertex_exec(bContext *C, wmOperator *op)
|
||||
|
||||
/* mirror before smooth */
|
||||
if (((Mesh *)obedit->data)->editflag & ME_EDIT_MIRROR_X) {
|
||||
EDBM_verts_mirror_cache_begin(em, false, true);
|
||||
EDBM_verts_mirror_cache_begin(em, 0, false, true);
|
||||
}
|
||||
|
||||
/* if there is a mirror modifier with clipping, flag the verts that
|
||||
@@ -1212,7 +1212,7 @@ static int edbm_do_smooth_laplacian_vertex_exec(bContext *C, wmOperator *op)
|
||||
|
||||
/* mirror before smooth */
|
||||
if (((Mesh *)obedit->data)->editflag & ME_EDIT_MIRROR_X) {
|
||||
EDBM_verts_mirror_cache_begin(em, false, true);
|
||||
EDBM_verts_mirror_cache_begin(em, 0, false, true);
|
||||
}
|
||||
|
||||
repeat = RNA_int_get(op->ptr, "repeat");
|
||||
|
||||
Reference in New Issue
Block a user