Cleanup: use proper RNA struct type for ListBase type
(otherwise all code using RNA has to link DNA_listbase.h, not clean at all!).
This commit is contained in:
@@ -5220,7 +5220,7 @@ static PyObject *pyrna_param_to_py(PointerRNA *ptr, PropertyRNA *prop, void *dat
|
||||
}
|
||||
case PROP_COLLECTION:
|
||||
{
|
||||
ListBase *lb = (ListBase *)data;
|
||||
CollectionListBase *lb = (CollectionListBase *)data;
|
||||
CollectionPointerLink *link;
|
||||
|
||||
ret = PyList_New(0);
|
||||
|
||||
Reference in New Issue
Block a user