diff options
Diffstat (limited to 'editor/editor_export.cpp')
-rw-r--r-- | editor/editor_export.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp index 6497b99610..e20744e424 100644 --- a/editor/editor_export.cpp +++ b/editor/editor_export.cpp @@ -75,11 +75,14 @@ bool EditorExportPreset::_get(const StringName &p_name, Variant &r_ret) const { return false; } + void EditorExportPreset::_get_property_list(List<PropertyInfo> *p_list) const { for (const List<PropertyInfo>::Element *E = properties.front(); E; E = E->next()) { - p_list->push_back(E->get()); + if (platform->get_option_visibility(E->get().name, values)) { + p_list->push_back(E->get()); + } } } |