Clear undo stack
Posted: Tue Feb 11, 2014 5:27 pm
Hello,
I'm building a custom tool and to help the user the tool creates some construction lines ( RLineEntity ). These lines will be deleted at the end by the script.
The tool works as expected, but I have some problems with the undo command, since I got a crash.
I suppose that references of construction lines are still in the undo stack.
Is there a way to reset the undo stack in a safe state?
Thanks
sramp
I'm building a custom tool and to help the user the tool creates some construction lines ( RLineEntity ). These lines will be deleted at the end by the script.
The tool works as expected, but I have some problems with the undo command, since I got a crash.
I suppose that references of construction lines are still in the undo stack.
Is there a way to reset the undo stack in a safe state?
Thanks
sramp