You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 19:41:11 +00:00
Scene import bugfix:
Fixes scene subresource property not being updated if all properties are reset to default in advanced importer settings.
This commit is contained in:
@@ -1289,9 +1289,7 @@ void SceneImportSettingsDialog::_re_import() {
|
||||
subresources["animations"] = animations;
|
||||
}
|
||||
|
||||
if (subresources.size()) {
|
||||
main_settings["_subresources"] = subresources;
|
||||
}
|
||||
main_settings["_subresources"] = subresources;
|
||||
|
||||
_cleanup(); // Prevent skeletons and other pointers from pointing to dangling references.
|
||||
EditorFileSystem::get_singleton()->reimport_file_with_custom_parameters(base_path, editing_animation ? "animation_library" : "scene", main_settings);
|
||||
|
||||
Reference in New Issue
Block a user