summaryrefslogtreecommitdiff
path: root/editor/scene_tree_dock.cpp
diff options
context:
space:
mode:
authorJFonS <joan.fonssanchez@gmail.com>2019-04-17 18:24:28 +0200
committerJFonS <joan.fonssanchez@gmail.com>2019-04-17 18:24:28 +0200
commit42043a22e8da8ec1dfdb2f718838493ccc9ff0f5 (patch)
tree3e9d61f8953aee614735af3dba6697910356fcc2 /editor/scene_tree_dock.cpp
parent87e42e4f66cbe29b2b16f87b0408cf00cf45013a (diff)
Add grouping to 3D editor
Diffstat (limited to 'editor/scene_tree_dock.cpp')
-rw-r--r--editor/scene_tree_dock.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp
index bd245d5da9..8473230758 100644
--- a/editor/scene_tree_dock.cpp
+++ b/editor/scene_tree_dock.cpp
@@ -986,6 +986,7 @@ void SceneTreeDock::_notification(int p_what) {
SpatialEditorPlugin *spatial_editor_plugin = Object::cast_to<SpatialEditorPlugin>(editor_data->get_editor("3D"));
spatial_editor_plugin->get_spatial_editor()->connect("item_lock_status_changed", scene_tree, "_update_tree");
+ spatial_editor_plugin->get_spatial_editor()->connect("item_group_status_changed", scene_tree, "_update_tree");
button_add->set_icon(get_icon("Add", "EditorIcons"));
button_instance->set_icon(get_icon("Instance", "EditorIcons"));