islaSyr
05-20-2009, 03:30 PM
Hi..
I've noticed something:
When u put series of commands into a script file and put it on a toolbar..
if u execute it u can undo it (by pressing ctrl+z) totaly, I mean u undo the whole series of commands by one undo.. But!!
but when u put those series into a registered command inside a plugin u loose this feature,
I mean u can't undo whole series.. by pressing ctrl+z XSI will undo commands one by one..!
so is there a way to register a command inside a plugin and undo it all by one press of ctrl+z??
I like to use registerCommand inside plugins because it's more powerful for packaging and archiving scripts..
Thanks 4 Reading..
I've noticed something:
When u put series of commands into a script file and put it on a toolbar..
if u execute it u can undo it (by pressing ctrl+z) totaly, I mean u undo the whole series of commands by one undo.. But!!
but when u put those series into a registered command inside a plugin u loose this feature,
I mean u can't undo whole series.. by pressing ctrl+z XSI will undo commands one by one..!
so is there a way to register a command inside a plugin and undo it all by one press of ctrl+z??
I like to use registerCommand inside plugins because it's more powerful for packaging and archiving scripts..
Thanks 4 Reading..
