Merge pull request #84711 from mihe/double-export-feature
Add `single`/`double` as export features automatically
This commit is contained in:
commit
285c917c4a
|
@ -510,6 +510,12 @@ HashSet<String> EditorExportPlatform::get_features(const Ref<EditorExportPreset>
|
|||
result.insert("template_release");
|
||||
}
|
||||
|
||||
#ifdef REAL_T_IS_DOUBLE
|
||||
result.insert("double");
|
||||
#else
|
||||
result.insert("single");
|
||||
#endif // REAL_T_IS_DOUBLE
|
||||
|
||||
if (!p_preset->get_custom_features().is_empty()) {
|
||||
Vector<String> tmp_custom_list = p_preset->get_custom_features().split(",");
|
||||
|
||||
|
|
|
@ -419,6 +419,12 @@ void ProjectExportDialog::_update_feature_list() {
|
|||
feature_set.insert(E);
|
||||
}
|
||||
|
||||
#ifdef REAL_T_IS_DOUBLE
|
||||
feature_set.insert("double");
|
||||
#else
|
||||
feature_set.insert("single");
|
||||
#endif // REAL_T_IS_DOUBLE
|
||||
|
||||
custom_feature_display->clear();
|
||||
String text;
|
||||
bool first = true;
|
||||
|
|
Loading…
Reference in New Issue