You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Implement glTF compat version system for files from older Godot versions
This commit is contained in:
@@ -2012,6 +2012,11 @@ Error EditorFileSystem::_reimport_file(const String &p_file, const HashMap<Strin
|
||||
}
|
||||
}
|
||||
|
||||
if (FileAccess::exists(p_file + ".import")) {
|
||||
// We only want to handle compat for existing files, not new ones.
|
||||
importer->handle_compatibility_options(params);
|
||||
}
|
||||
|
||||
//mix with default params, in case a parameter is missing
|
||||
|
||||
List<ResourceImporter::ImportOption> opts;
|
||||
|
||||
Reference in New Issue
Block a user