From abddd7d5f91a6b00617d4eac8616d54490d45e8d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 9 Dec 2020 18:46:07 +1100 Subject: [PATCH] Fix T83566: bpy.props.CollectionProperty gives incorrect error Error in commit a7b3047cefcbfae4d8b13e15026497fd5ae92730. --- source/blender/python/intern/bpy_props.c | 1 - 1 file changed, 1 deletion(-) 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; }