- OBJ importer now reads most of the test files. Had to copy BPyMesh.ngon function to OBJ import code
- added MeshEdge.fgon property, not using it yet - fixed in bpy_rna.c to correctly read arrays returned from RNA functions
This commit is contained in:
@@ -1801,6 +1801,10 @@ PyObject *pyrna_param_to_py(PointerRNA *ptr, PropertyRNA *prop, void *data)
|
||||
/* resolve the array from a new pytype */
|
||||
ret = PyTuple_New(len);
|
||||
|
||||
/* for return values, data is a pointer to an array, not first element pointer */
|
||||
if (prop->flag & PROP_DYNAMIC_ARRAY)
|
||||
data = *((char**)data)
|
||||
|
||||
switch (type) {
|
||||
case PROP_BOOLEAN:
|
||||
for(a=0; a<len; a++)
|
||||
|
Reference in New Issue
Block a user