diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-03 16:55:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-03 16:55:15 +0300 |
commit | e197cc95e6f663645fb98c72ca8444403cf6a7d0 (patch) | |
tree | c6412ae1c60888cd56cc1bcc34917a6a5c39e880 /source/blender/python | |
parent | 36db7f8eb74924e832f752ee2e1382cca9bf0a62 (diff) |
fix crash from own recent changes [#26271] Crash when accessing bpy.data.node_groups
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 2 |
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); |