[Bf-blender-cvs] [da6bc87] master: Fix T38138: incorrect API docs

Campbell Barton noreply at git.blender.org
Thu Jan 9 11:49:24 CET 2014


Commit: da6bc87b57d208c7a35015c30ea7fde55dd829cf
Author: Campbell Barton
Date:   Thu Jan 9 21:48:41 2014 +1100
https://developer.blender.org/rBda6bc87b57d208c7a35015c30ea7fde55dd829cf

Fix T38138: incorrect API docs

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

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

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

diff --git a/source/blender/python/mathutils/mathutils_Matrix.c b/source/blender/python/mathutils/mathutils_Matrix.c
index ccff114..6965d96 100644
--- a/source/blender/python/mathutils/mathutils_Matrix.c
+++ b/source/blender/python/mathutils/mathutils_Matrix.c
@@ -1413,7 +1413,7 @@ PyDoc_STRVAR(Matrix_lerp_doc,
 "   :type other: :class:`Matrix`\n"
 "   :arg factor: The interpolation value in [0.0, 1.0].\n"
 "   :type factor: float\n"
-"   :return: The interpolated rotation.\n"
+"   :return: The interpolated matrix.\n"
 "   :rtype: :class:`Matrix`\n"
 );
 static PyObject *Matrix_lerp(MatrixObject *self, PyObject *args)
diff --git a/source/blender/python/mathutils/mathutils_Vector.c b/source/blender/python/mathutils/mathutils_Vector.c
index 6b2da9c..91055a5 100644
--- a/source/blender/python/mathutils/mathutils_Vector.c
+++ b/source/blender/python/mathutils/mathutils_Vector.c
@@ -1121,7 +1121,7 @@ PyDoc_STRVAR(Vector_lerp_doc,
 "   :type other: :class:`Vector`\n"
 "   :arg factor: The interpolation value in [0.0, 1.0].\n"
 "   :type factor: float\n"
-"   :return: The interpolated rotation.\n"
+"   :return: The interpolated vector.\n"
 "   :rtype: :class:`Vector`\n"
 );
 static PyObject *Vector_lerp(VectorObject *self, PyObject *args)




More information about the Bf-blender-cvs mailing list