diff options
author | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2018-11-18 18:07:38 -0200 |
---|---|---|
committer | Michael Alexsander Silva Dias <michaelalexsander@protonmail.com> | 2018-11-18 19:46:35 -0200 |
commit | 6ba94d5ca03e51a4c10f6d47e12b347a84ecb722 (patch) | |
tree | 5fba360a9ebf6746df8a3d4b8488d52321fe84d0 /doc/classes/UndoRedo.xml | |
parent | f769e13c5ef8b8a0df681f4febff42c05ab05009 (diff) | |
download | redot-engine-6ba94d5ca03e51a4c10f6d47e12b347a84ecb722.tar.gz |
Add argument to UndoRedo's "clear_history()" to not increase the version
Diffstat (limited to 'doc/classes/UndoRedo.xml')
-rw-r--r-- | doc/classes/UndoRedo.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/UndoRedo.xml b/doc/classes/UndoRedo.xml index 0ea5c6e005..93806ac326 100644 --- a/doc/classes/UndoRedo.xml +++ b/doc/classes/UndoRedo.xml @@ -102,8 +102,11 @@ <method name="clear_history"> <return type="void"> </return> + <argument index="0" name="increase_version" type="bool" default="true"> + </argument> <description> Clear the undo/redo history and associated references. + Passing [code]false[/code] to [code]increase_version[/code] will prevent the version number to be increased from this. </description> </method> <method name="commit_action"> |