Start_operation and commit_operation issue
-
I've run into a wierd situation where the status from start_operation and commit_operation is good yet the first time through the undo doesn't behave as expected.
Instead of undoing all the various operations - the undo is 1 step at a time - just as if there wasn't a start and commit.
The second time through with the plugin and it works as expected.
Too much code to show. Question is if anyone has run into this kind of thing.
-
there are reports of this with embedded operations...
-
I've read lots of reports about start_operation and commit.
But nothing about specifically first time through failure.Maybe it is how I'm searching history.
-
It may not be your issue, but the most resent I know is found on the dark side....
http://forums.sketchup.com/t/difficulties-wrapping-the-operations-of-a-plugin-into-one-undo/15657
john
-
Sorry,
Start and commit are not nested. A few lines of debug code proves that.
Still at a loss.
Advertisement