[Bf-blender-cvs] [1bcc8f84105] master: Cleanup: Python: naming mismatch in bvh.ray_cast.

Jeroen Bakker noreply at git.blender.org
Thu Feb 18 09:10:18 CET 2021


Commit: 1bcc8f84105a7715655bc42ec12eca41d06c38cf
Author: Jeroen Bakker
Date:   Thu Feb 18 09:09:31 2021 +0100
Branches: master
https://developer.blender.org/rB1bcc8f84105a7715655bc42ec12eca41d06c38cf

Cleanup: Python: naming mismatch in bvh.ray_cast.

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

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 0f3e54dc41f..1acbcc006ca 100644
--- a/source/blender/python/mathutils/mathutils_bvhtree.c
+++ b/source/blender/python/mathutils/mathutils_bvhtree.c
@@ -333,8 +333,8 @@ PyDoc_STRVAR(py_bvhtree_ray_cast_doc,
              "\n"
              "   Cast a ray onto the mesh.\n"
              "\n"
-             "   :arg co: Start location of the ray in object space.\n"
-             "   :type co: :class:`Vector`\n"
+             "   :arg origin: Start location of the ray in object space.\n"
+             "   :type origin: :class:`Vector`\n"
              "   :arg direction: Direction of the ray in object space.\n"
              "   :type direction: :class:`Vector`\n" PYBVH_FIND_GENERIC_DISTANCE_DOC
                  PYBVH_FIND_GENERIC_RETURN_DOC);



More information about the Bf-blender-cvs mailing list