summaryrefslogtreecommitdiff
path: root/tools/editor/scene_tree_dock.h
diff options
context:
space:
mode:
authorMateusz Adamczyk <matek_a@outlook.com>2016-10-31 15:45:20 +0100
committerMateusz Adamczyk <matek_a@outlook.com>2016-11-01 22:49:01 +0100
commitce5200b30e6d262905912c6571d51ba6f5979bd7 (patch)
tree9c99c9e5612e0c2a9c5f5c82e1a0c38ee442a939 /tools/editor/scene_tree_dock.h
parent3958171a7a26dc7c7eac116312db533635b57eba (diff)
Option for detaching script from node (#6934).
Diffstat (limited to 'tools/editor/scene_tree_dock.h')
-rw-r--r--tools/editor/scene_tree_dock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/scene_tree_dock.h b/tools/editor/scene_tree_dock.h
index 36d4a6d208..86fe3bb136 100644
--- a/tools/editor/scene_tree_dock.h
+++ b/tools/editor/scene_tree_dock.h
@@ -60,6 +60,7 @@ class SceneTreeDock : public VBoxContainer {
TOOL_GROUP,
TOOL_CREATE_SCRIPT,
TOOL_LOAD_SCRIPT,
+ TOOL_CLEAR_SCRIPT,
TOOL_MOVE_UP,
TOOL_MOVE_DOWN,
TOOL_DUPLICATE,
@@ -82,6 +83,7 @@ class SceneTreeDock : public VBoxContainer {
ToolButton *button_instance;
ToolButton *button_create_script;
ToolButton *button_load_script;
+ ToolButton *button_clear_script;
SceneTreeEditor *scene_tree;