diff --git a/source/blender/src/editobject.c b/source/blender/src/editobject.c index 583308b1b7a..1bcad80ee07 100644 --- a/source/blender/src/editobject.c +++ b/source/blender/src/editobject.c @@ -7175,6 +7175,8 @@ void mirror(short mode) { float mat[3][3], imat[3][3], min[3], max[3]; TransVert *tv; + if(G.obedit->type==OB_MESH) undo_push_mesh("Mirror"); /* If it's a mesh, push it down the undo pipe */ + make_trans_verts(min, max, 0); Mat3CpyMat4(mat, G.obedit->obmat); // Inverting the matrix explicitly, since the inverse is not always correct (then why the heck are we keeping it!) @@ -7307,8 +7309,6 @@ void mirrormenu(void){ if (mode==-1) return; /* return */ - if(G.obedit->type==OB_MESH) undo_push_mesh("Mirror"); /* If it's a mesh, push it down the undo pipe */ - mirror(mode); /* separating functionality from interface | call*/ }