OOF2: The Manual
Name
OOF.PixelSelection.Undo — Undo the latest selection.
Synopsis
OOF.PixelSelection.Undo(microstructure
)
Details
- Parent Menu: OOF.PixelSelection
-
Callback: function
undo
in moduleooflib.common.pixelselectionmod
-
Parameters:
microstructure
- Type: The path to an existing
Microstructure
object.
Description
A Microstructure
maintains a stack of sets of selected pixels. Whenever
pixels are selected or deselected, a new selection set is pushed
onto the stack. The Undo
command pops the topmost set off the stack, thereby reverting
to the next older selection. The popped version is not destroyed,
however. It can be recovered with OOF.PixelSelection.Redo.
The stack has a limited depth. When the stack is full, the oldest selections will be lost when new selections are made.