otomo
08-17-2006, 08:25 AM
Hi,
I am new to coffee programming and have some problems with a script I wrote which I want to offer a proper undo. The script deletes several objects in the scene. When I want to undo the script action I have to do an undo for every deletion the script did. object by object.
What I want is that the whole script action will be just one undo step.
I tried with startundo(), endundo() and several addundo()'s in between but it does not work.
So how can I combine several deletions in just one undo step?
thanks
otomo
I am new to coffee programming and have some problems with a script I wrote which I want to offer a proper undo. The script deletes several objects in the scene. When I want to undo the script action I have to do an undo for every deletion the script did. object by object.
What I want is that the whole script action will be just one undo step.
I tried with startundo(), endundo() and several addundo()'s in between but it does not work.
So how can I combine several deletions in just one undo step?
thanks
otomo
