bugfix [#21057] Python: accessing DriverVariable targets causes segmentation violation
collections were detected as arrays.
This commit is contained in:
@@ -1703,6 +1703,7 @@ void RNA_def_property_collection_sdna(PropertyRNA *prop, const char *structname,
|
||||
else {
|
||||
dp->dnalengthstructname= structname;
|
||||
dp->dnalengthname= lengthpropname;
|
||||
prop->totarraylength= 0;
|
||||
}
|
||||
|
||||
cprop->next= (PropCollectionNextFunc)"rna_iterator_array_next";
|
||||
|
||||
Reference in New Issue
Block a user