[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58363] branches/soc-2013-viewport_fx/ source/blender/editors/transform/transform_manipulator.c: fixed X cone on transform manipulator rotating around wrong axis
Jason Wilkins
Jason.A.Wilkins at gmail.com
Thu Jul 18 11:34:16 CEST 2013
Revision: 58363
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58363
Author: jwilkins
Date: 2013-07-18 09:34:15 +0000 (Thu, 18 Jul 2013)
Log Message:
-----------
fixed X cone on transform manipulator rotating around wrong axis
Modified Paths:
--------------
branches/soc-2013-viewport_fx/source/blender/editors/transform/transform_manipulator.c
Modified: branches/soc-2013-viewport_fx/source/blender/editors/transform/transform_manipulator.c
===================================================================
--- branches/soc-2013-viewport_fx/source/blender/editors/transform/transform_manipulator.c 2013-07-18 09:29:12 UTC (rev 58362)
+++ branches/soc-2013-viewport_fx/source/blender/editors/transform/transform_manipulator.c 2013-07-18 09:34:15 UTC (rev 58363)
@@ -1511,10 +1511,10 @@
if (G.f & G_PICKSEL) {
glLoadName(MAN_TRANS_X);
}
- gpuRotateAxis(90.0, 'X');
+ gpuRotateAxis(90.0, 'Y');
set_manipulator_color(v3d, 'X', colcode, axisBlendAngle(rv3d->twangle[0]));
gpuDrawElements(GL_TRIANGLES);
- gpuRotateAxis(-90.0, 'X');
+ gpuRotateAxis(-90.0, 'Y');
gpuTranslate(-dz, 0.0, 0.0);
}
break;
More information about the Bf-blender-cvs
mailing list