mirror of
https://github.com/godotengine/godot.git
synced 2025-01-16 23:12:08 +00:00
Make sure scan happens after all nodes enter scene (including plugins), fixes #9286
This commit is contained in:
parent
7010ee3cb9
commit
0130bbfac0
@ -913,7 +913,8 @@ void EditorFileSystem::_notification(int p_what) {
|
||||
|
||||
case NOTIFICATION_ENTER_TREE: {
|
||||
|
||||
scan();
|
||||
call_deferred("scan"); //this should happen after every editor node entered the tree
|
||||
|
||||
} break;
|
||||
case NOTIFICATION_EXIT_TREE: {
|
||||
if (use_threads && thread) {
|
||||
|
Loading…
Reference in New Issue
Block a user