OOF2: The Manual
Name
OOF.NodeSelection.Undo — Undo the latest Skeleton node selection operation.
Synopsis
OOF.NodeSelection.Undo(skeleton
)
Details
- Parent Menu: OOF.NodeSelection
-
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 Node
selections.
Whenever Nodes
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 Nodes
. The popped set is not
destroyed -- it can be recovered with the OOF.NodeSelection.Redo command.
The selection stack is not infinite. When it is full, the oldest selection will be lost when a new selection is made.