summaryrefslogtreecommitdiffstats
path: root/core/undo_redo.h
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2018-11-18 18:07:38 -0200
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2018-11-18 19:46:35 -0200
commit6ba94d5ca03e51a4c10f6d47e12b347a84ecb722 (patch)
tree5fba360a9ebf6746df8a3d4b8488d52321fe84d0 /core/undo_redo.h
parentf769e13c5ef8b8a0df681f4febff42c05ab05009 (diff)
downloadredot-engine-6ba94d5ca03e51a4c10f6d47e12b347a84ecb722.tar.gz
Add argument to UndoRedo's "clear_history()" to not increase the version
Diffstat (limited to 'core/undo_redo.h')
-rw-r--r--core/undo_redo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/undo_redo.h b/core/undo_redo.h
index 22dcd60472..f09fca9a78 100644
--- a/core/undo_redo.h
+++ b/core/undo_redo.h
@@ -112,7 +112,7 @@ public:
bool redo();
bool undo();
String get_current_action_name() const;
- void clear_history();
+ void clear_history(bool p_increase_version = true);
uint64_t get_version() const;