OOF2: The Manual

Name

OOF.Skeleton.PinNodes.Redo — Undo the undone pinning operation.

Synopsis

OOF.Skeleton.PinNodes.Redo(skeleton)

Details

  • Parent Menu: OOF.Skeleton.PinNodes
  • Callback: function _redo in module ooflib.engine.pinnodesmodifier
  • Parameters:

    skeleton
    Type: The path to an existing Skeleton object.

Description

As well as keeping track of which Nodes are currently pinned, each Skeleton maintains a stack of previous sets of pinned Nodes. Whenever nodes are pinned or unpinned, a new set is pushed onto the stack. The Undo command pops the latest version off of the stack, thereby reverting to the previous set of pinned Nodes. The Redo command undoes the latest Undo, replacing the most recently popped set of pinned Nodes onto the stack.

[Note] Note

Undone pinnings can be redone only if no new Nodes were pinned or unpinned since the time of the last Undo.