1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix export options of scripted EditorExportPlugins

This commit is contained in:
RedworkDE
2023-07-04 15:39:23 +02:00
parent cdd2313ba2
commit fa84d09542
6 changed files with 38 additions and 29 deletions

View File

@@ -577,8 +577,8 @@ void ProjectExportDialog::_duplicate_preset() {
preset->set_exclude_filter(current->get_exclude_filter());
preset->set_custom_features(current->get_custom_features());
for (const PropertyInfo &E : current->get_properties()) {
preset->set(E.name, current->get(E.name));
for (const KeyValue<StringName, Variant> &E : current->get_values()) {
preset->set(E.key, E.value);
}
EditorExport::get_singleton()->add_export_preset(preset);