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
parent 94791bd5da
commit 5551948b31
Notes: blender-bot 2023-02-14 08:31:10 +01:00
Referenced by issue #46520, mathutils.bvhtree crashes with distance input
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;
}