summaryrefslogtreecommitdiff
path: root/editor/scene_tree_dock.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-05-28 18:39:14 +0200
committerGitHub <noreply@github.com>2019-05-28 18:39:14 +0200
commit500fe8960079400140f5459c482d8e116f589172 (patch)
tree51dd601316690740df4fe9eabee5f182288b06f9 /editor/scene_tree_dock.h
parentd4811e689779f970818a12b8ce0093b0ba4e3889 (diff)
parenta93ff8d210c4258e850270426f33a10d9306f728 (diff)
Merge pull request #28349 from KoBeWi/sprite_editor_mistake_eraser
Add undo for Sprite Editor
Diffstat (limited to 'editor/scene_tree_dock.h')
-rw-r--r--editor/scene_tree_dock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_tree_dock.h b/editor/scene_tree_dock.h
index 39badac12c..9f9e93f2df 100644
--- a/editor/scene_tree_dock.h
+++ b/editor/scene_tree_dock.h
@@ -244,7 +244,7 @@ public:
void show_tab_buttons();
void hide_tab_buttons();
- void replace_node(Node *p_node, Node *p_by_node, bool p_keep_properties = true);
+ void replace_node(Node *p_node, Node *p_by_node, bool p_keep_properties = true, bool p_remove_old = true);
void open_script_dialog(Node *p_for_node);