Browse Source

Merge pull request #71274 from Faless/fix/4.x_export_preset_debug_feature

[Editor] Fix missing "debug"/"release" export presets feature tags.
Fabio Alessandrelli 2 years ago
parent
commit
4ac649d838
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");
 	}