auto re-import atlas, fixes #40047

This commit is contained in:
Chistpohe LY 2020-07-09 07:25:45 +02:00
parent ddba410ce5
commit f34f00bccc
1 changed files with 1 additions and 0 deletions

View File

@ -533,6 +533,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