Begin Undo Batch (LogiX node)

From Neos Wiki
Jump to navigation Jump to search
Other languages:
English • ‎日本語
Begin Undo Batch
'Begin Undo Batch' LogiX node
Inputs
  Impulse DoCreate
  String Description
Outputs
  Impulse OnBegin

The Begin Undo Batch node starts recording a batch of undoable changes when an impulse is received at DoCreate.

Usage

The Description input determines the text which is displayed in a user's radial menu next to the Undo button for the relevant undo step. Default is null.


The OnBegin output continues the impulse chain which triggered DoCreate; any changes which should be included in the same batch undo step should be performed during the impulse chain started from OnBegin.


The Undo Manager entry is created for the owner of the impulse received at Create. Unless the Description input has a non-null value, the text displayed around the Undo button in the radial menu is "(batch action)".

If you wish to perform some undoable changes in the impulse chain started from OnBegin and then later some ones which should not be included in the batch, you can explicitly finish the creation of the batch with End Undo Batch (LogiX node). Note that simply including a node which makes a change (e.g. Set Local Position) downstream of a Begin Undo Batch node does not automatically make it an undoable change - you must still create undo save points in the batch using the other nodes in the Undo category.

Examples

Node Menu

Undo
Back Begin Undo Batch Create Field Undo Step Create Reference Undo Step Create Spawn Undo Step Create Transform Undo Step Create Type Field Undo Step
Create Undo Batch End Undo Batch Undoable Destroy