소스 검색

[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 년 전
부모
커밋
9a59c0a47c
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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");
 	}