mirror of https://github.com/godotengine/godot
Fix properties arrays in C# bindings generator
This commit is contained in:
parent
197d9e2bbb
commit
c6b1c8093f
|
|
@ -2610,7 +2610,7 @@ bool BindingsGenerator::_populate_object_type_interfaces() {
|
||||||
Map<StringName, StringName> accessor_methods;
|
Map<StringName, StringName> accessor_methods;
|
||||||
|
|
||||||
for (const PropertyInfo &property : property_list) {
|
for (const PropertyInfo &property : property_list) {
|
||||||
if (property.usage & PROPERTY_USAGE_GROUP || property.usage & PROPERTY_USAGE_SUBGROUP || property.usage & PROPERTY_USAGE_CATEGORY) {
|
if (property.usage & PROPERTY_USAGE_GROUP || property.usage & PROPERTY_USAGE_SUBGROUP || property.usage & PROPERTY_USAGE_CATEGORY || (property.type == Variant::NIL && property.usage & PROPERTY_USAGE_ARRAY)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue