diff options
| author | Juan Linietsky | 2015-05-10 15:58:08 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-05-10 15:58:08 -0300 |
| commit | 421b4fec3e6d50b764227a7f0b76c93c0be0ff46 (patch) | |
| tree | 65bc426290f94fe8d1e182cf41d6e7f8805f0076 /tools/editor/plugins/spatial_editor_plugin.cpp | |
| parent | 18251997dd3a0032ce332de8456e0047b60a4eb5 (diff) | |
| download | godot-421b4fec3e6d50b764227a7f0b76c93c0be0ff46.tar.gz godot-421b4fec3e6d50b764227a7f0b76c93c0be0ff46.tar.zst godot-421b4fec3e6d50b764227a7f0b76c93c0be0ff46.zip | |
-compatibility option for physicsbody layers, fixes #1842
Diffstat (limited to 'tools/editor/plugins/spatial_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/spatial_editor_plugin.cpp | 1 |
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 ac2ea9799..0b3f3e062 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")); |
