ScenesDock: Fix regression in tree generation

Was a regression from 3fcb9b1ec1.
Fixes #5590.
This commit is contained in:
Rémi Verschelde 2016-07-08 09:15:31 +02:00
parent d8c31e0e74
commit dc58be9f35
1 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,9 @@ bool ScenesDock::_create_tree(TreeItem *p_parent,EditorFileSystemDirectory *p_di
item->select(0); item->select(0);
} }
for(int i=0;i<p_dir->get_subdir_count();i++)
_create_tree(item,p_dir->get_subdir(i));
return true; return true;
} }