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 năm trước cách đây
mục cha
commit
9a59c0a47c
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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");
 	}