Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-03-11 05:43:30 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-11 05:43:30 +0300
commitd7257a983fbda67fcc1c9226d5f82df61fb2d3f7 (patch)
tree95140a50525ac52500695335e87e21d25b0356ae /source
parentbc97f88576713ac76fbc238cbb439347dfcbddff (diff)
bugfix [#26454] WITH_PYTHON_SAFETY crash.
Diffstat (limited to 'source')
-rw-r--r--source/blender/python/intern/bpy_rna.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index 0f452605c28..8544a6b493e 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -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;