[Bf-blender-cvs] [f3b7b7eb0c3] master: Fix T63673: Wrong api documentation for Quaternion.dot(other)

Jacques Lucke noreply at git.blender.org
Wed Apr 17 13:49:41 CEST 2019


Commit: f3b7b7eb0c3b434301f02718e5304144892c3e0a
Author: Jacques Lucke
Date:   Wed Apr 17 13:48:41 2019 +0200
Branches: master
https://developer.blender.org/rBf3b7b7eb0c3b434301f02718e5304144892c3e0a

Fix T63673: Wrong api documentation for Quaternion.dot(other)

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

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

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

diff --git a/source/blender/python/mathutils/mathutils_Quaternion.c b/source/blender/python/mathutils/mathutils_Quaternion.c
index 86da4511a2e..8841519de8a 100644
--- a/source/blender/python/mathutils/mathutils_Quaternion.c
+++ b/source/blender/python/mathutils/mathutils_Quaternion.c
@@ -236,7 +236,7 @@ PyDoc_STRVAR(Quaternion_dot_doc,
              "   :arg other: The other quaternion to perform the dot product with.\n"
              "   :type other: :class:`Quaternion`\n"
              "   :return: The dot product.\n"
-             "   :rtype: :class:`Quaternion`\n");
+             "   :rtype: float\n");
 static PyObject *Quaternion_dot(QuaternionObject *self, PyObject *value)
 {
   float tquat[QUAT_SIZE];



More information about the Bf-blender-cvs mailing list