From f34f00bccc276d85acf27032375e461357c4a8bf Mon Sep 17 00:00:00 2001 From: Chistpohe LY Date: Thu, 9 Jul 2020 07:25:45 +0200 Subject: [PATCH] auto re-import atlas, fixes #40047 --- editor/editor_file_system.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/editor_file_system.cpp b/editor/editor_file_system.cpp index d88c61d7b2c..e3c6d5ee5f9 100644 --- a/editor/editor_file_system.cpp +++ b/editor/editor_file_system.cpp @@ -533,6 +533,7 @@ bool EditorFileSystem::_update_scan_actions() { if (_test_for_reimport(full_path, false)) { //must reimport reimports.push_back(full_path); + reimports.append_array(_get_dependencies(full_path)); } else { //must not reimport, all was good //update modified times, to avoid reimport