nspace
nspace copied to clipboard
Undo button
Universal undo button, to undo any action that sets the unsavedChanges flag.
An intermediate step could be to allow only certain actions to be undone. The button would be shown if the most recent action was one of these, and hidden if anything else tried to set the unsavedChanges flag (it would no longer be a flag).
Types of undoable actions:
- Selection changes
- Adjust
- Creating objects/substances
- Deleting objects/substances
- Painting
There's now a revert button for restoring to previous saved state.