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:
2016-06-22 18:04:04 +02:00
parent 897e97f078
commit fb1f7fad78
3 changed files with 7 additions and 2 deletions

View File

@@ -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);