diff --git a/tools/editor/scenes_dock.cpp b/tools/editor/scenes_dock.cpp index c46178345c6..75c983994e4 100644 --- a/tools/editor/scenes_dock.cpp +++ b/tools/editor/scenes_dock.cpp @@ -59,6 +59,9 @@ bool ScenesDock::_create_tree(TreeItem *p_parent,EditorFileSystemDirectory *p_di item->select(0); } + for(int i=0;iget_subdir_count();i++) + _create_tree(item,p_dir->get_subdir(i)); + return true; }