Fix T83566: bpy.props.CollectionProperty gives incorrect error
Error in commit a7b3047cefcbfae4d8b13e15026497fd5ae92730.
This commit is contained in:
parent
ebe4bf6286
commit
abddd7d5f9
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user