From dc58be9f3542d640771722187959f56f042b5baa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 8 Jul 2016 09:15:31 +0200 Subject: [PATCH] ScenesDock: Fix regression in tree generation Was a regression from 3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33. Fixes #5590. --- tools/editor/scenes_dock.cpp | 3 +++ 1 file changed, 3 insertions(+) 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; }