-
Notifications
You must be signed in to change notification settings - Fork 202
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EMSUSD-998 better universal manip undo redo
Fix the complicated handling of undo and redo vs the universal manipulator. The code failed to do the right thing when half of the attributes are already existed or when more complex composite manipulations were done, for example when scaling with the universal manipulator. We make the transformation commands more robust vs the ordering of calls to support all use cases. They still handle the bug related to object-space translation redo: when redoing an object-space translation, Maya passes in incorrect values to the command that must be ignored. Apply fix to all transform commands. This way they all use the same pattern from UsdSetXformOpUndoableCommandBase to manage any order of calls to execute/set/undo/redo: use in the CommonAPI commands, matrix commands and Maya tranform-stack commands.
- Loading branch information
1 parent
d68d172
commit 7302fd0
Showing
6 changed files
with
406 additions
and
269 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.