Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-11-15 17:30:07 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-11-15 18:39:51 +0300
commitf64064e4b164eeef8746d26762567b2f0ec0ddb4 (patch)
treec180d1000180d7d9f8834c927eae21495a25d6b2
parent49db3f6bf10d4b3cabe5f722ff2dd480ce438af6 (diff)
Docs: correct indent for to_swing_twist docstring
-rw-r--r--source/blender/python/mathutils/mathutils_Quaternion.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/mathutils/mathutils_Quaternion.c b/source/blender/python/mathutils/mathutils_Quaternion.c
index 0de1ffb9879..c64d6b09387 100644
--- a/source/blender/python/mathutils/mathutils_Quaternion.c
+++ b/source/blender/python/mathutils/mathutils_Quaternion.c
@@ -180,7 +180,7 @@ PyDoc_STRVAR(Quaternion_to_swing_twist_doc,
".. method:: to_swing_twist(axis)\n"
"\n"
" Split the rotation into a swing quaternion with the specified\n"
- "axis fixed at zero, and the remaining twist rotation angle.\n"
+ " axis fixed at zero, and the remaining twist rotation angle.\n"
"\n"
" :arg axis: twist axis as a string in ['X', 'Y', 'Z']\n"
" :return: swing, twist angle.\n"
@@ -203,7 +203,7 @@ static PyObject *Quaternion_to_swing_twist(QuaternionObject *self, PyObject *axi
else {
PyErr_SetString(PyExc_ValueError,
"Quaternion.to_swing_twist(): "
- "the axis agrument must be "
+ "the axis argument must be "
"a string in 'X', 'Y', 'Z'");
return NULL;
}
@@ -226,7 +226,7 @@ PyDoc_STRVAR(
"\n"
" Return the exponential map representation of the quaternion.\n"
"\n"
- " This representation consist of the rotation axis multiplied by the rotation angle."
+ " This representation consist of the rotation axis multiplied by the rotation angle.\n"
" Such a representation is useful for interpolation between multiple orientations.\n"
"\n"
" :return: exponential map.\n"