Last active
June 18, 2019 15:41
-
-
Save lukpazera/a6cddb5948f9a5cf947b40a18480e0fb to your computer and use it in GitHub Desktop.
This is piece of MODO config allows for defining a command (my.command) as part of undo group (myUndoGroup). 'undoPlusPrevious' means that when undoing my.command it will do one more undo step automatically. It allows for bundling multiple commands into one undo step.
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
http://modo.sdk.thefoundry.co.uk/wiki/Command_(lx-command.hpp)#.2814.29_SDK:_Undo_Group_Command_Example | |
<atom type="CommandUndoGroup"> | |
<hash type="Command" key="my.command">myUndoGroup</hash> | |
<hash type="GroupBehavior" key="myUndoGroup">undoPlusPrevious</hash> | |
</atom> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment