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