summaryrefslogtreecommitdiffstats
path: root/editor/editor_file_system.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-07-10 10:57:13 +0200
committerGitHub <noreply@github.com>2020-07-10 10:57:13 +0200
commit0f6a8f57eecd580f1752bb65f9f6f4aad2c40580 (patch)
tree854cb6bb57cd2eec1168518f460cf91ea556640b /editor/editor_file_system.cpp
parent08c1657c99b5631475281b4f1370c69d359bb8df (diff)
parentf34f00bccc276d85acf27032375e461357c4a8bf (diff)
downloadredot-engine-0f6a8f57eecd580f1752bb65f9f6f4aad2c40580.tar.gz
Merge pull request #40229 from ChristopheLY/atlas-auto-reimport
auto re-import atlas, fixes #40047
Diffstat (limited to 'editor/editor_file_system.cpp')
-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 e367ed4989..a5edcf5c22 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