소스 검색

auto re-import atlas, fixes #40047

Chistpohe LY 5 년 전
부모
커밋
f34f00bccc
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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