Add single
/double
as export features automatically
This commit is contained in:
parent
2b987d1c54
commit
1bb2905fbd
@ -481,6 +481,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(",");
|
||||
|
||||
|
@ -409,6 +409,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
Block a user