mirror of
https://github.com/godotengine/godot.git
synced 2024-11-25 21:52:51 +00:00
Merge pull request #85486 from paulloz/fix/property-groups-shadowing
Fix property groups overriding real properties
This commit is contained in:
commit
75d7aab015
@ -631,6 +631,10 @@ bool PlaceHolderScriptInstance::has_method(const StringName &p_method) const {
|
|||||||
void PlaceHolderScriptInstance::update(const List<PropertyInfo> &p_properties, const HashMap<StringName, Variant> &p_values) {
|
void PlaceHolderScriptInstance::update(const List<PropertyInfo> &p_properties, const HashMap<StringName, Variant> &p_values) {
|
||||||
HashSet<StringName> new_values;
|
HashSet<StringName> new_values;
|
||||||
for (const PropertyInfo &E : p_properties) {
|
for (const PropertyInfo &E : p_properties) {
|
||||||
|
if (E.usage & (PROPERTY_USAGE_GROUP | PROPERTY_USAGE_SUBGROUP | PROPERTY_USAGE_CATEGORY)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
StringName n = E.name;
|
StringName n = E.name;
|
||||||
new_values.insert(n);
|
new_values.insert(n);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user