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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-03-03 16:55:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-03 16:55:15 +0300
commite197cc95e6f663645fb98c72ca8444403cf6a7d0 (patch)
treec6412ae1c60888cd56cc1bcc34917a6a5c39e880
parent36db7f8eb74924e832f752ee2e1382cca9bf0a62 (diff)
fix crash from own recent changes [#26271] Crash when accessing bpy.data.node_groups
-rw-r--r--source/blender/python/intern/bpy_rna.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c
index 0009c5f7f47..25d246c066d 100644
--- a/source/blender/python/intern/bpy_rna.c
+++ b/source/blender/python/intern/bpy_rna.c
@@ -860,7 +860,7 @@ static PyObject *pyrna_prop_repr(BPy_PropertyRNA *self)
PYRNA_PROP_CHECK_OBJ(self)
- if((id= self->ptr.id.data))
+ if((id= self->ptr.id.data) == NULL)
return pyrna_prop_str(self); /* fallback */
path= RNA_path_from_ID_to_property(&self->ptr, self->prop);