summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-01-12 16:03:33 +0100
committerGitHub <noreply@github.com>2023-01-12 16:03:33 +0100
commit4ac649d8386b805f5857b545c6404515da25d4f7 (patch)
tree212e76368795b731f2c28da0e990737977d5d10b
parentc6f4c0ac54a7a0ec330984c2463a23f112c85c66 (diff)
parent9a59c0a47c507b4e3d1b55c091c19f51abc45bd9 (diff)
Merge pull request #71274 from Faless/fix/4.x_export_preset_debug_feature
[Editor] Fix missing "debug"/"release" export presets feature tags.
-rw-r--r--editor/export/editor_export_platform.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/export/editor_export_platform.cpp b/editor/export/editor_export_platform.cpp
index 028071ff62..ef6c835b38 100644
--- a/editor/export/editor_export_platform.cpp
+++ b/editor/export/editor_export_platform.cpp
@@ -444,8 +444,10 @@ HashSet<String> EditorExportPlatform::get_features(const Ref<EditorExportPreset>
result.insert("template");
if (p_debug) {
+ result.insert("debug");
result.insert("template_debug");
} else {
+ result.insert("release");
result.insert("template_release");
}