small mathutils changes.
- fix for returning empty slices (was returning list rather then tuple). - report invalid type when mathutils_array_parse_fast() fails.
This commit is contained in:
@@ -446,7 +446,7 @@ static PyObject *Euler_subscript(EulerObject *self, PyObject *item)
|
||||
return NULL;
|
||||
|
||||
if (slicelength <= 0) {
|
||||
return PyList_New(0);
|
||||
return PyTuple_New(0);
|
||||
}
|
||||
else if (step == 1) {
|
||||
return Euler_slice(self, start, stop);
|
||||
|
||||
Reference in New Issue
Block a user