Merge pull request #79907 from kdiduk/fix-advanced-scene-reimport-default-settings

Fix reimporting scene with default values selected
This commit is contained in:
Aaron Franke 2023-08-01 15:30:07 -05:00 committed by GitHub
commit ba3fb66d71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1065,7 +1065,7 @@ void SceneImportSettings::_viewport_input(const Ref<InputEvent> &p_input) {
void SceneImportSettings::_re_import() {
HashMap<StringName, Variant> main_settings;
main_settings = defaults;
main_settings = scene_import_settings_data->current;
main_settings.erase("_subresources");
Dictionary nodes;
Dictionary materials;