OOF2: The Manual
Name
OOF.ElementSelection.Undo — Undo the latest Skeleton element selection operation.
Synopsis
OOF.ElementSelection.Undo(skeleton
)
Details
- Parent Menu: OOF.ElementSelection
-
Callback: function
_undo
in moduleooflib.engine.IO.skeletonselectmenu
-
Parameters:
skeleton
- Type: The path to an existing
Skeleton
object.
Description
Each Skeleton
maintains a stack of previous Element
selections.
Whenever Elements
are selected or deselected, a new
version is pushed onto the stack. The Undo
pops the latest version off of the stack, thereby reverting to the
previously selected set of Elements
. The popped set is not
destroyed -- it can be recovered with the OOF.ElementSelection.Redo command.
The selection stack is not infinite. When it is full, the oldest selection will be lost when a new selection is made.