Fix T47337: BVHTree.find_nearest missing

Method wasn't named as documented.
This commit is contained in:
Campbell Barton 2016-02-08 08:26:04 +11:00
parent 715410c2fd
commit c7608ef359
Notes: blender-bot 2023-02-14 19:50:54 +01:00
Referenced by issue blender/blender-addons#47337, Inconsistent python api and documentation in mathutils.
1 changed files with 1 additions and 1 deletions

View File

@ -1132,7 +1132,7 @@ static PyObject *C_BVHTree_FromObject(PyObject *UNUSED(cls), PyObject *args, PyO
static PyMethodDef py_bvhtree_methods[] = {
{"ray_cast", (PyCFunction)py_bvhtree_ray_cast, METH_VARARGS, py_bvhtree_ray_cast_doc},
{"find", (PyCFunction)py_bvhtree_find_nearest, METH_VARARGS, py_bvhtree_find_nearest_doc},
{"find_nearest", (PyCFunction)py_bvhtree_find_nearest, METH_VARARGS, py_bvhtree_find_nearest_doc},
{"overlap", (PyCFunction)py_bvhtree_overlap, METH_O, py_bvhtree_overlap_doc},
/* class methods */