Forráskód Böngészése

auto re-import atlas, fixes #40047

(cherry picked from commit f34f00bccc276d85acf27032375e461357c4a8bf)
Chistpohe LY 5 éve
szülő
commit
130ad08d47
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      editor/editor_file_system.cpp

+ 1 - 0
editor/editor_file_system.cpp

@@ -563,6 +563,7 @@ bool EditorFileSystem::_update_scan_actions() {
 				if (_test_for_reimport(full_path, false)) {
 				if (_test_for_reimport(full_path, false)) {
 					//must reimport
 					//must reimport
 					reimports.push_back(full_path);
 					reimports.push_back(full_path);
+					reimports.append_array(_get_dependencies(full_path));
 				} else {
 				} else {
 					//must not reimport, all was good
 					//must not reimport, all was good
 					//update modified times, to avoid reimport
 					//update modified times, to avoid reimport