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