diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2016-07-08 09:15:31 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2016-07-08 09:15:43 +0200 |
commit | dc58be9f3542d640771722187959f56f042b5baa (patch) | |
tree | 9ee16806fd5578e30c8833c2f2330889efe3d170 /tools | |
parent | d8c31e0e7480906ccf230892b090e3c3cbe1b271 (diff) |
ScenesDock: Fix regression in tree generation
Was a regression from 3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.
Fixes #5590.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/editor/scenes_dock.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/editor/scenes_dock.cpp b/tools/editor/scenes_dock.cpp index c46178345c..75c983994e 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;i<p_dir->get_subdir_count();i++) + _create_tree(item,p_dir->get_subdir(i)); + return true; } |