Commit: c7608ef359d109998ccafd8251e4e099d4fce090
Author: Campbell Barton
Date:   Mon Feb 8 08:26:04 2016 +1100
Branches: master
https://developer.blender.org/rBc7608ef359d109998ccafd8251e4e099d4fce090

Fix T47337: BVHTree.find_nearest missing

Method wasn't named as documented.

===================================================================

M       source/blender/python/mathutils/mathutils_bvhtree.c

===================================================================

diff --git a/source/blender/python/mathutils/mathutils_bvhtree.c 
b/source/blender/python/mathutils/mathutils_bvhtree.c
index 20baf6c..08b1f53 100644
--- a/source/blender/python/mathutils/mathutils_bvhtree.c
+++ b/source/blender/python/mathutils/mathutils_bvhtree.c
@@ -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 */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to