Skip to content

Commit

Permalink
Merge pull request #79907 from kdiduk/fix-advanced-scene-reimport-def…
Browse files Browse the repository at this point in the history
…ault-settings

Fix reimporting scene with default values selected
  • Loading branch information
aaronfranke authored Aug 1, 2023
2 parents 2992ffd + 8b729e5 commit ba3fb66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/import/scene_import_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ba3fb66

Please sign in to comment.