Fix custom features missing when _export_begin is called
This commit is contained in:
parent
bb4d02e41a
commit
087401b33f
1 changed files with 14 additions and 0 deletions
|
@ -594,6 +594,20 @@ EditorExportPlatform::FeatureContainers EditorExportPlatform::get_feature_contai
|
||||||
result.features.insert(E->get());
|
result.features.insert(E->get());
|
||||||
result.features_pv.push_back(E->get());
|
result.features_pv.push_back(E->get());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (p_preset->get_custom_features() != String()) {
|
||||||
|
|
||||||
|
Vector<String> tmp_custom_list = p_preset->get_custom_features().split(",");
|
||||||
|
|
||||||
|
for (int i = 0; i < tmp_custom_list.size(); i++) {
|
||||||
|
String f = tmp_custom_list[i].strip_edges();
|
||||||
|
if (f != String()) {
|
||||||
|
result.features.insert(f);
|
||||||
|
result.features_pv.push_back(f);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue