From 25067420131ba93fd02fbfced3775d204965c901 Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Fri, 1 Nov 2024 23:44:14 +0200 Subject: [PATCH] [Editor] Copy encryption and script settings on export preset duplication. --- editor/export/project_export.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/editor/export/project_export.cpp b/editor/export/project_export.cpp index a3cd6523e981..e8aa591f4a65 100644 --- a/editor/export/project_export.cpp +++ b/editor/export/project_export.cpp @@ -684,6 +684,12 @@ void ProjectExportDialog::_duplicate_preset() { preset->set_exclude_filter(current->get_exclude_filter()); preset->set_patches(current->get_patches()); preset->set_custom_features(current->get_custom_features()); + preset->set_enc_in_filter(current->get_enc_in_filter()); + preset->set_enc_ex_filter(current->get_enc_ex_filter()); + preset->set_enc_pck(current->get_enc_pck()); + preset->set_enc_directory(current->get_enc_directory()); + preset->set_script_encryption_key(current->get_script_encryption_key()); + preset->set_script_export_mode(current->get_script_export_mode()); for (const KeyValue &E : current->get_values()) { preset->set(E.key, E.value);