Message 1 of 2
Undo stack cleared after python command

Not applicable
03-26-2015
09:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
My artists have been complaining about their undo stack clearing everytime they save. The problem only happened when my postsave callback ran. I investigated and found that running any python command will clear the undo stack. Here was my test:
python.execute "print 'HELLO!'"
Then the undo stack is empty. Is there a way to run a python command without losing the undos?
Thanks,
Miles