forked from bartvdbraak/blender
bugfix [#26454] WITH_PYTHON_SAFETY crash.
This commit is contained in:
parent
bc97f88576
commit
d7257a983f
@ -4843,6 +4843,10 @@ PyObject *pyrna_prop_collection_iter_CreatePyObject(PointerRNA *ptr, PropertyRNA
|
||||
{
|
||||
BPy_PropertyCollectionIterRNA *self= PyObject_New(BPy_PropertyCollectionIterRNA, &pyrna_prop_collection_iter_Type);
|
||||
|
||||
#ifdef USE_WEAKREFS
|
||||
self->in_weakreflist= NULL;
|
||||
#endif
|
||||
|
||||
RNA_property_collection_begin(ptr, prop, &self->iter);
|
||||
|
||||
return (PyObject *)self;
|
||||
|
Loading…
Reference in New Issue
Block a user