In the 2.1rc version when I called CancelActive on the editor, the edit ended with a "cancel" action, but the graphics changed according to my last change.
In the 2.1 release, when I call CancelActive, the graphics reverts to its original geometry.
I'm not using the editor widget but rather my own code, and I want to be able to control both edit mode and edit end mode. For example:
1. click of a graphics to enter edit vertices mode
2. change the vertices
3. click on a button to end edit mode
I know I can press inside the graphics to end edit mode, but I want to control it myself. Until the release I used CancelActive (as I was told to in this forum), but now CancelActive cancels the edit.
I've looked at the other commands, and non seems to match what I need.
How can I end an edit manually by code?