== Retopo ==
Partial fix for bug #5766 * Moved the retopo call used during transforms to above the call to clip the transform (for the mirror modifier.) This stops retopo from moving a vertex across the axis.
This commit is contained in:
@@ -219,6 +219,7 @@ void recalcData(TransInfo *t)
|
|||||||
|
|
||||||
if (G.obedit) {
|
if (G.obedit) {
|
||||||
if (G.obedit->type == OB_MESH) {
|
if (G.obedit->type == OB_MESH) {
|
||||||
|
retopo_do_all();
|
||||||
|
|
||||||
/* mirror modifier clipping? */
|
/* mirror modifier clipping? */
|
||||||
if(t->state != TRANS_CANCEL)
|
if(t->state != TRANS_CANCEL)
|
||||||
@@ -226,8 +227,6 @@ void recalcData(TransInfo *t)
|
|||||||
|
|
||||||
if(G.scene->toolsettings->editbutflag & B_MESH_X_MIRROR)
|
if(G.scene->toolsettings->editbutflag & B_MESH_X_MIRROR)
|
||||||
editmesh_apply_to_mirror(t);
|
editmesh_apply_to_mirror(t);
|
||||||
|
|
||||||
retopo_do_all();
|
|
||||||
|
|
||||||
DAG_object_flush_update(G.scene, G.obedit, OB_RECALC_DATA); /* sets recalc flags */
|
DAG_object_flush_update(G.scene, G.obedit, OB_RECALC_DATA); /* sets recalc flags */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user