mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Always store ID of PopupMenu items
This commit is contained in:
parent
826de7976a
commit
5279fec60f
4 changed files with 4 additions and 4 deletions
|
|
@ -142,7 +142,7 @@ void PropertyListHelper::get_property_list(List<PropertyInfo> *p_list) const {
|
|||
const Property &property = E.value;
|
||||
|
||||
PropertyInfo info = property.info;
|
||||
if (_call_getter(&property, i) == property.default_value) {
|
||||
if (!(info.usage & PROPERTY_USAGE_STORE_IF_NULL) && _call_getter(&property, i) == property.default_value) {
|
||||
info.usage &= (~PROPERTY_USAGE_STORAGE);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue