Stop exposing external theme item properties
This commit is contained in:
parent
89cea14398
commit
d061d9bac3
2 changed files with 8 additions and 4 deletions
|
|
@ -407,6 +407,10 @@ void Control::_get_property_list(List<PropertyInfo> *p_list) const {
|
|||
p_list->push_back(PropertyInfo(Variant::NIL, GNAME("Theme Overrides", "theme_override_"), PROPERTY_HINT_NONE, "theme_override_", PROPERTY_USAGE_GROUP));
|
||||
|
||||
for (const ThemeDB::ThemeItemBind &E : theme_items) {
|
||||
if (E.external) {
|
||||
continue; // External items are not meant to be exposed.
|
||||
}
|
||||
|
||||
uint32_t usage = PROPERTY_USAGE_EDITOR | PROPERTY_USAGE_CHECKABLE;
|
||||
|
||||
switch (E.data_type) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue