summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-05-10 15:58:08 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-05-10 15:58:08 -0300
commit421b4fec3e6d50b764227a7f0b76c93c0be0ff46 (patch)
tree65bc426290f94fe8d1e182cf41d6e7f8805f0076 /tools
parent18251997dd3a0032ce332de8456e0047b60a4eb5 (diff)
-compatibility option for physicsbody layers, fixes #1842
Diffstat (limited to 'tools')
-rw-r--r--tools/editor/plugins/spatial_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/editor/plugins/spatial_editor_plugin.cpp b/tools/editor/plugins/spatial_editor_plugin.cpp
index ac2ea9799e..0b3f3e0626 100644
--- a/tools/editor/plugins/spatial_editor_plugin.cpp
+++ b/tools/editor/plugins/spatial_editor_plugin.cpp
@@ -3372,6 +3372,7 @@ void SpatialEditor::_notification(int p_what) {
tool_button[SpatialEditor::TOOL_MODE_ROTATE]->set_icon( get_icon("ToolRotate","EditorIcons") );
tool_button[SpatialEditor::TOOL_MODE_SCALE]->set_icon( get_icon("ToolScale","EditorIcons") );
instance_button->set_icon( get_icon("SpatialAdd","EditorIcons") );
+ instance_button->hide();
view_menu->get_popup()->set_item_icon(view_menu->get_popup()->get_item_index(MENU_VIEW_USE_1_VIEWPORT),get_icon("Panels1","EditorIcons"));