Merge pull request #55350 from Ev1lbl0w/fix_default_value_inspector
This commit is contained in:
commit
80e292b3e0
|
@ -511,7 +511,7 @@ void PlaceHolderScriptInstance::update(const List<PropertyInfo> &p_properties, c
|
|||
Variant defval;
|
||||
if (script->get_property_default_value(E->key(), defval)) {
|
||||
//remove because it's the same as the default value
|
||||
if (defval == E) {
|
||||
if (defval == E->get()) {
|
||||
to_remove.push_back(E->key());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue