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....
Difficulties wrapping the operations of a plugin into one undo
Iāve written a plugin which is based on the parametric class. My plugin creates two classes depending on the parametric class. parametricās create and edit methods have start_operation/commit_operation functionality builā¦
SketchUp Community (forums.sketchup.com)
john
-
Sorry,
Start and commit are not nested. A few lines of debug code proves that.
Still at a loss.
Advertisement