Plumiferos bugreport:

After using Manipulator on poses, the undopush was called too early,
resulting in a LOCK flag to be saved in Armature.
Effect was that after undo, the pose didn't show actions.
This commit is contained in:
Ton Roosendaal
2006-11-27 19:54:16 +00:00
parent 84c391b408
commit 3bbf7624ec

View File

@@ -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 **************************** */