File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -364,6 +364,7 @@ void EditorExport::update_export_presets() {
364364 if (platform_options.has (preset->get_platform ()->get_name ())) {
365365 export_presets_updated = true ;
366366
367+ bool update_value_overrides = false ;
367368 List<EditorExportPlatform::ExportOption> options = platform_options[preset->get_platform ()->get_name ()];
368369
369370 // Clear the preset properties prior to reloading, keep the values to preserve options from plugins that may be currently disabled.
@@ -377,6 +378,13 @@ void EditorExport::update_export_presets() {
377378 preset->values [option_name] = E.default_value ;
378379 }
379380 preset->update_visibility [option_name] = E.update_visibility ;
381+ if (E.update_visibility ) {
382+ update_value_overrides = true ;
383+ }
384+ }
385+
386+ if (update_value_overrides) {
387+ preset->update_value_overrides ();
380388 }
381389 }
382390 }
You can’t perform that action at this time.
0 commit comments