Browse Source

[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).
Fabio Alessandrelli 2 years ago
parent
commit
9a59c0a47c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      editor/export/editor_export_platform.cpp

+ 2 - 0
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");
 	}