From aed5347b4ca5c113101a4507689c664f397e87eb Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 2 Dec 2015 19:25:08 +1100 Subject: Using term 'origin' for mathutils.bvhtree docs Matches rna ray-cast API --- source/blender/python/mathutils/mathutils_bvhtree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/python/mathutils') diff --git a/source/blender/python/mathutils/mathutils_bvhtree.c b/source/blender/python/mathutils/mathutils_bvhtree.c index 9deb57d6760..b3b9d4a86dc 100644 --- a/source/blender/python/mathutils/mathutils_bvhtree.c +++ b/source/blender/python/mathutils/mathutils_bvhtree.c @@ -328,7 +328,7 @@ static void py_bvhtree_nearest_point_cb(void *userdata, int index, const float c } PyDoc_STRVAR(py_bvhtree_ray_cast_doc, -".. method:: ray_cast(co, direction, distance=sys.float_info.max)\n" +".. method:: ray_cast(origin, direction, distance=sys.float_info.max)\n" "\n" " Cast a ray onto the mesh.\n" "\n" @@ -383,7 +383,7 @@ static PyObject *py_bvhtree_ray_cast(PyBVHTree *self, PyObject *args) } PyDoc_STRVAR(py_bvhtree_find_nearest_doc, -".. method:: find_nearest(co, distance=" PYBVH_MAX_DIST_STR ")\n" +".. method:: find_nearest(origin, distance=" PYBVH_MAX_DIST_STR ")\n" "\n" " Find the nearest element to a point.\n" "\n" -- cgit v1.2.3