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>2011-02-16 05:05:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-16 05:05:36 +0300
commit669cffdb1e4d2fb00d70e8bc77c5ea7bd92ff618 (patch)
tree90c3c5bcfb9f006bec50a2eea46e5c0735e506d9 /source/blender/python
parentf5217afd1836c3fc34e0c8220d5f230295c456da (diff)
fix [#26098] python API: quaternion.rotate never seems to work.
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/generic/mathutils_Quaternion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/generic/mathutils_Quaternion.c b/source/blender/python/generic/mathutils_Quaternion.c
index d4affd05abf..08b813ade16 100644
--- a/source/blender/python/generic/mathutils_Quaternion.c
+++ b/source/blender/python/generic/mathutils_Quaternion.c
@@ -997,7 +997,7 @@ static struct PyMethodDef Quaternion_methods[] = {
{"dot", (PyCFunction) Quaternion_dot, METH_O, Quaternion_dot_doc},
{"difference", (PyCFunction) Quaternion_difference, METH_O, Quaternion_difference_doc},
{"slerp", (PyCFunction) Quaternion_slerp, METH_VARARGS, Quaternion_slerp_doc},
- {"rotate", (PyCFunction) Quaternion_rotate, METH_VARARGS, Quaternion_rotate_doc},
+ {"rotate", (PyCFunction) Quaternion_rotate, METH_O, Quaternion_rotate_doc},
{"__copy__", (PyCFunction) Quaternion_copy, METH_NOARGS, Quaternion_copy_doc},
{"copy", (PyCFunction) Quaternion_copy, METH_NOARGS, Quaternion_copy_doc},