[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [32594] trunk/blender/source/blender/ editors/transform/transform.c: bugfix [#24322] Rotating objects with Axis+Angle mode fails.
Campbell Barton
ideasman42 at gmail.com
Tue Oct 19 12:32:02 CEST 2010
Revision: 32594
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=32594
Author: campbellbarton
Date: 2010-10-19 12:32:02 +0200 (Tue, 19 Oct 2010)
Log Message:
-----------
bugfix [#24322] Rotating objects with Axis+Angle mode fails.
Modified Paths:
--------------
trunk/blender/source/blender/editors/transform/transform.c
Modified: trunk/blender/source/blender/editors/transform/transform.c
===================================================================
--- trunk/blender/source/blender/editors/transform/transform.c 2010-10-19 10:26:53 UTC (rev 32593)
+++ trunk/blender/source/blender/editors/transform/transform.c 2010-10-19 10:32:02 UTC (rev 32594)
@@ -3017,7 +3017,7 @@
mat3_to_quat( quat,fmat); // Actual transform
mul_qt_qtqt(tquat, quat, iquat);
- quat_to_axis_angle( td->ext->rotAxis, td->ext->rotAngle,quat);
+ quat_to_axis_angle( td->ext->rotAxis, td->ext->rotAngle,tquat);
/* this function works on end result */
protectedAxisAngleBits(td->protectflag, td->ext->rotAxis, td->ext->rotAngle, td->ext->irotAxis, td->ext->irotAngle);
More information about the Bf-blender-cvs
mailing list