You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Merge pull request #93919 from Hilderin/fix-csv-translation-errors-import-other-resources
Fix adding a translation CSV results in errors on initial import for many types of resources
This commit is contained in:
@@ -2066,7 +2066,6 @@ void EditorFileSystem::update_files(const Vector<String> &p_script_paths) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (updated) {
|
if (updated) {
|
||||||
_process_update_pending();
|
|
||||||
if (update_files_icon_cache) {
|
if (update_files_icon_cache) {
|
||||||
_update_files_icon_path();
|
_update_files_icon_path();
|
||||||
} else {
|
} else {
|
||||||
@@ -2074,9 +2073,12 @@ void EditorFileSystem::update_files(const Vector<String> &p_script_paths) {
|
|||||||
_update_file_icon_path(fi);
|
_update_file_icon_path(fi);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!is_scanning()) {
|
||||||
|
_process_update_pending();
|
||||||
call_deferred(SNAME("emit_signal"), "filesystem_changed"); //update later
|
call_deferred(SNAME("emit_signal"), "filesystem_changed"); //update later
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
HashSet<String> EditorFileSystem::get_valid_extensions() const {
|
HashSet<String> EditorFileSystem::get_valid_extensions() const {
|
||||||
return valid_extensions;
|
return valid_extensions;
|
||||||
|
|||||||
Reference in New Issue
Block a user