diff options
Diffstat (limited to 'source/blender/src/transform.c')
-rwxr-xr-x | source/blender/src/transform.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c index 14a41b0a5dc..4524c7c5c88 100755 --- a/source/blender/src/transform.c +++ b/source/blender/src/transform.c @@ -1026,9 +1026,6 @@ void ManipulatorTransform() if(Trans.state == TRANS_CANCEL) { restoreTransObjects(&Trans); } - else { - BIF_undo_push(transform_to_undostr(&Trans)); - } /* free data, reset vars */ postTrans(&Trans); @@ -1038,6 +1035,11 @@ void ManipulatorTransform() /* send events out for redraws */ viewRedrawPost(&Trans); + + if(Trans.state != TRANS_CANCEL) { + BIF_undo_push(transform_to_undostr(&Trans)); + } + } /* ************************** TRANSFORMATIONS **************************** */ |