[Bf-blender-cvs] [19ea4ba9c50] master: Fix T76399: Wrong API docs for mathutils.Vector.dot

Jacques Lucke noreply at git.blender.org
Mon May 4 14:33:55 CEST 2020


Commit: 19ea4ba9c50343056ca8a5b450f7dbd34c3a5404
Author: Jacques Lucke
Date:   Mon May 4 14:33:48 2020 +0200
Branches: master
https://developer.blender.org/rB19ea4ba9c50343056ca8a5b450f7dbd34c3a5404

Fix T76399: Wrong API docs for mathutils.Vector.dot

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

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

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

diff --git a/source/blender/python/mathutils/mathutils_Vector.c b/source/blender/python/mathutils/mathutils_Vector.c
index 6ea0dd52ed7..ace7480ee81 100644
--- a/source/blender/python/mathutils/mathutils_Vector.c
+++ b/source/blender/python/mathutils/mathutils_Vector.c
@@ -930,7 +930,7 @@ PyDoc_STRVAR(Vector_dot_doc,
              "   :arg other: The other vector to perform the dot product with.\n"
              "   :type other: :class:`Vector`\n"
              "   :return: The dot product.\n"
-             "   :rtype: :class:`Vector`\n");
+             "   :rtype: float\n");
 static PyObject *Vector_dot(VectorObject *self, PyObject *value)
 {
   float *tvec;



More information about the Bf-blender-cvs mailing list