MohoDoc:PrepUndo(layer, shallow, willOnlyAddPoints)
Version added: before 9.5
Arguments:
Name | Type | Description | Default | Ver |
layer | MohoLayer | The layer that is about to be modified | < 9.5 | |
shallow | bool | Added in version 11 | false | 11.0 |
willOnlyAddPoints | bool | Added in version 14.0 | false | 14.0 |
Return value:
void none
Mark a point in editing that the user can "undo" to return to.
NOTE: The original Moho 5.6 documentation stated that passing nil as the argument marks a forthcoming operation as "not undoable". However, it looks like in modern versions, perhaps from version 11, passing nil works for the entire document, not a single layer.
See also: MohoDoc:PrepMultiUndo
NOTE: The original Moho 5.6 documentation stated that passing nil as the argument marks a forthcoming operation as "not undoable". However, it looks like in modern versions, perhaps from version 11, passing nil works for the entire document, not a single layer.
See also: MohoDoc:PrepMultiUndo
Search results
Usage of 'PrepUndo' is found in the following scripts:
AE Mix Smartbones (Original Edition) by A.Evseeva
View Code
AE Key Tools (Original Edition) by A.Evseeva
View Code
Multilayer magnet (Original Edition) by A.Evseeva
View Code
AE Trangulate Shapes (Original Edition) by A.Evseeva
View Code
Replace PSD (Original Edition) by A.Evseeva
View Code
Create joint helper (Original Edition) by A.Evseeva
View Code
Tweak for Curve Exposure (Original Edition) by A.Evseeva
View Code