summaryrefslogtreecommitdiffstats
path: root/editor/editor_export.cpp
diff options
context:
space:
mode:
authorreduz <reduzio@gmail.com>2021-11-14 14:02:38 -0300
committerreduz <reduzio@gmail.com>2021-11-14 14:06:10 -0300
commitcd2a4990844fac72ae624a51bb797716e69ce2c3 (patch)
tree4f6461c676d35ac1974a6c28fedf88d7008741f4 /editor/editor_export.cpp
parented300d7be536b1ec325ba77521eceee73dd0e5fb (diff)
downloadredot-engine-cd2a4990844fac72ae624a51bb797716e69ce2c3.tar.gz
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.
Diffstat (limited to 'editor/editor_export.cpp')
-rw-r--r--editor/editor_export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp
index d1dfc61c19..e78ca7cd64 100644
--- a/editor/editor_export.cpp
+++ b/editor/editor_export.cpp
@@ -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);
}
}