Explorar o código

auto re-import atlas, fixes #40047

Chistpohe LY %!s(int64=5) %!d(string=hai) anos
pai
achega
f34f00bccc
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      editor/editor_file_system.cpp

+ 1 - 0
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