diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-10-18 13:09:42 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-10-18 13:09:42 +0300 |
commit | 5551948b31691aa1ce817d78c13c173823a4dd6c (patch) | |
tree | 32ae00121727d9231be81908780e7a94b3fc567e /source/blender | |
parent | 94791bd5da6e90a550471276e3368246efe3795d (diff) |
Fix T46520: mathutils.bvhtree crashes with distance input.
Should be backported to 'a' release.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/python/mathutils/mathutils_bvhtree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/mathutils/mathutils_bvhtree.c b/source/blender/python/mathutils/mathutils_bvhtree.c index bf06b889e25..9deb57d6760 100644 --- a/source/blender/python/mathutils/mathutils_bvhtree.c +++ b/source/blender/python/mathutils/mathutils_bvhtree.c @@ -352,7 +352,7 @@ static PyObject *py_bvhtree_ray_cast(PyBVHTree *self, PyObject *args) if (!PyArg_ParseTuple( args, (char *)"OO|f:ray_cast", - &py_co, &py_direction, max_dist)) + &py_co, &py_direction, &max_dist)) { return NULL; } |