Fix T46520: mathutils.bvhtree crashes with distance input.

Should be backported to 'a' release.
This commit is contained in:
Bastien Montagne 2015-10-18 12:09:42 +02:00 committed by Campbell Barton
parent 0afdd1139b
commit 34def18764
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}