ScenesDock: Fix regression in tree generation
Was a regression from 3fcb9b1ec1
.
Fixes #5590.
This commit is contained in:
parent
d8c31e0e74
commit
dc58be9f35
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue