forked from bartvdbraak/blender
Fix mathutils.barycentric_transform()
Dummy typo, we need a 3D vector here...
This commit is contained in:
parent
ecc58da8f1
commit
90b5697459
@ -971,7 +971,7 @@ static PyObject *M_Geometry_barycentric_transform(PyObject *UNUSED(self), PyObje
|
||||
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;
|
||||
}
|
||||
for (i = 0; i < ARRAY_SIZE(tri_src); i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user