|
Name | Description |
---|---|
objectToUndo | The object(s) you want to save undo info for. |
name | The name of the thing to undo. - Think "Undo ...." in the main menu. |
Set the objects modified by the GUI or Handles so they can undo properly.
This does not push an undo (the actual GUI or Handles are the ones who know when this is needed), but only informs the GUI or Handles what to call the operation on and where you end up applying it.
This happens for example when you are issuing drag and drop operations and you want to save a "temporary" state but you dont want to register as an Undo action. (For example when you click ESC when moving the position handle)
And the runtime script that works with this editor Script