Bugfix #25437
[blender.git] / source / blender / makesrna / intern / rna_access.c
index 8d596ac50259839f9384e0c4189c7a15fc16f8e4..5dba0a41a023e5f598d437082771b2184aeac38f 100644 (file)
@@ -2828,7 +2828,8 @@ void rna_iterator_array_begin(CollectionPropertyIterator *iter, void *ptr, int i
        internal->endptr= ((char*)ptr)+length*itemsize;
        internal->itemsize= itemsize;
        internal->skip= skip;
-
+       internal->length= length;
+       
        iter->internal= internal;
        iter->valid= (internal->ptr != internal->endptr);