diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-12-09 10:46:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-12-09 10:46:07 +0300 |
commit | abddd7d5f91a6b00617d4eac8616d54490d45e8d (patch) | |
tree | 4c8399e029ae39623683031004a862350008322d /source/blender/python | |
parent | ebe4bf6286b165cc5f7e6f237a9c2683e109e4de (diff) |
Fix T83566: bpy.props.CollectionProperty gives incorrect error
Error in commit a7b3047cefcbfae4d8b13e15026497fd5ae92730.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy_props.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_props.c b/source/blender/python/intern/bpy_props.c index d45c8e8b131..9d69d91c8c8 100644 --- a/source/blender/python/intern/bpy_props.c +++ b/source/blender/python/intern/bpy_props.c @@ -3494,7 +3494,6 @@ PyObject *BPy_CollectionProperty(PyObject *self, PyObject *args, PyObject *kw) if (!RNA_struct_is_a(ptype, &RNA_PropertyGroup)) { PyErr_Format(PyExc_TypeError, "CollectionProperty(...) expected an RNA type derived from %.200s", - RNA_struct_ui_name(&RNA_ID), RNA_struct_ui_name(&RNA_PropertyGroup)); return NULL; } |