Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2015-01-18 20:41:47 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2015-01-18 20:41:47 +0300
commit90b569745960ef78e2f20bb8b826dba8b52adee3 (patch)
tree285bb030dbcc7515f61fbd9653b0e78315650b1f /source/blender/python
parentecc58da8f1d110498e700b804cb44adba1145113 (diff)
Fix `mathutils.barycentric_transform()`
Dummy typo, we need a 3D vector here...
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/mathutils/mathutils_geometry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/mathutils/mathutils_geometry.c b/source/blender/python/mathutils/mathutils_geometry.c
index b496ee1fbf6..6b8c03de12c 100644
--- a/source/blender/python/mathutils/mathutils_geometry.c
+++ b/source/blender/python/mathutils/mathutils_geometry.c
@@ -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++) {