Oh - and it's sort of more complication, but in order to get my undo / redo working properly, I had to then have my api callback create a scriptJob (with compressUndo=True) - that way, all the scene-changing code is done with script level (ie, maya.cmds) code... when I tried to mix it up by calling my script-level code within the api callback, the undo would work, but not redo.
- Paul On Sun, Mar 22, 2009 at 10:16 PM, Paul Molodowitch <[email protected]> wrote: > Oops... that should probably be: > > MEventMessage.addEventCallback("SelectionChanged", selectCallback, userData) > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
