Add path to functions that return iporter options
-Allows displaying custom options for specific file format variants -Added support for scene format import to retrieve custom options This PR is necessary for #54886 to be implemented properly.
This commit is contained in:
@@ -82,7 +82,7 @@ bool EditorExportPreset::_get(const StringName &p_name, Variant &r_ret) const {
|
||||
|
||||
void EditorExportPreset::_get_property_list(List<PropertyInfo> *p_list) const {
|
||||
for (const PropertyInfo &E : properties) {
|
||||
if (platform->get_option_visibility(E.name, values)) {
|
||||
if (platform->get_export_option_visibility(E.name, values)) {
|
||||
p_list->push_back(E);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user