bugfix [#21057] Python: accessing DriverVariable targets causes segmentation violation

collections were detected as arrays.
This commit is contained in:
Campbell Barton 2010-02-09 19:20:12 +00:00
parent 82825d5c93
commit f577c4bb7f

@ -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";