Fix T46520: mathutils.bvhtree crashes with distance input.
Should be backported to 'a' release.
This commit is contained in:
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
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue