summaryrefslogtreecommitdiff
path: root/editor/export
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-01-12 15:15:59 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2023-01-12 15:18:45 +0100
commit9a59c0a47c507b4e3d1b55c091c19f51abc45bd9 (patch)
tree545b45fe5422bd734a0e32c0de588919cf0fd17e /editor/export
parent9943cb624200374ef9f4f51482cc4a39c0651769 (diff)
[Editor] Fix missing "debug"/"release" export presets feature tags.
So the same code can be used in editor and debug exports ("release" is kept for consistency).
Diffstat (limited to 'editor/export')
-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");
}