[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34886] trunk/blender/source/blender/ python/generic/mathutils_Quaternion.c: fix [#26098] python API: quaternion. rotate never seems to work.

Campbell Barton ideasman42 at gmail.com
Wed Feb 16 03:05:40 CET 2011


Revision: 34886
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=34886
Author:   campbellbarton
Date:     2011-02-16 02:05:36 +0000 (Wed, 16 Feb 2011)
Log Message:
-----------
fix [#26098] python API: quaternion.rotate never seems to work.

Modified Paths:
--------------
    trunk/blender/source/blender/python/generic/mathutils_Quaternion.c

Modified: trunk/blender/source/blender/python/generic/mathutils_Quaternion.c
===================================================================
--- trunk/blender/source/blender/python/generic/mathutils_Quaternion.c	2011-02-16 01:46:32 UTC (rev 34885)
+++ trunk/blender/source/blender/python/generic/mathutils_Quaternion.c	2011-02-16 02:05:36 UTC (rev 34886)
@@ -997,7 +997,7 @@
 	{"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},




More information about the Bf-blender-cvs mailing list