summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChistpohe LY <christophely@live.fr>2020-07-09 07:25:45 +0200
committerChistpohe LY <christophely@live.fr>2020-07-10 09:26:53 +0200
commitf34f00bccc276d85acf27032375e461357c4a8bf (patch)
tree6b93b2c57ddc6e2810b6287aacd885e17ca7d8f6
parentddba410ce5fdfaf736c4c91650ec84ebb609bb8f (diff)
auto re-import atlas, fixes #40047
-rw-r--r--editor/editor_file_system.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor_file_system.cpp b/editor/editor_file_system.cpp
index d88c61d7b2..e3c6d5ee5f 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