summaryrefslogtreecommitdiffstats
path: root/core/undo_redo.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2018-11-20 08:49:17 +0100
committerGitHub <noreply@github.com>2018-11-20 08:49:17 +0100
commit16a2c31e53502a076f538acb32031e582912af4b (patch)
treebbd72406ac577e5c44a9d4725ca9dd1ab33647d7 /core/undo_redo.h
parent9c55d6842b0b9ebb51e40822539997528122a700 (diff)
parent6ba94d5ca03e51a4c10f6d47e12b347a84ecb722 (diff)
downloadredot-engine-16a2c31e53502a076f538acb32031e582912af4b.tar.gz
Merge pull request #23812 from YeldhamDev/clear_history_version_optional
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;