Fix mathutils.barycentric_transform()

Dummy typo, we need a 3D vector here...
This commit is contained in:
Bastien Montagne 2015-01-18 18:41:47 +01:00
parent ecc58da8f1
commit 90b5697459

@ -971,7 +971,7 @@ static PyObject *M_Geometry_barycentric_transform(PyObject *UNUSED(self), PyObje
return NULL; return NULL;
} }
if (mathutils_array_parse(pt_src, 2, 2 | MU_ARRAY_SPILL, py_pt_src, error_prefix) == -1) { if (mathutils_array_parse(pt_src, 3, 3 | MU_ARRAY_SPILL, py_pt_src, error_prefix) == -1) {
return NULL; return NULL;
} }
for (i = 0; i < ARRAY_SIZE(tri_src); i++) { for (i = 0; i < ARRAY_SIZE(tri_src); i++) {