[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [24280] trunk/blender/source/blender/ editors/transform/transform_manipulator.c: Patch [#19799] Add trackball loop to rotate manipulator
Martin Poirier
theeth at yahoo.com
Tue Nov 3 18:44:12 CET 2009
Revision: 24280
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=24280
Author: theeth
Date: 2009-11-03 18:44:12 +0100 (Tue, 03 Nov 2009)
Log Message:
-----------
Patch [#19799] Add trackball loop to rotate manipulator
by Adrian Winchell (slightly modified)
This adds a center circle (like translation and resize) to the rotation manipulator that triggers trackball rotation.
Modified Paths:
--------------
trunk/blender/source/blender/editors/transform/transform_manipulator.c
Modified: trunk/blender/source/blender/editors/transform/transform_manipulator.c
===================================================================
--- trunk/blender/source/blender/editors/transform/transform_manipulator.c 2009-11-03 17:00:38 UTC (rev 24279)
+++ trunk/blender/source/blender/editors/transform/transform_manipulator.c 2009-11-03 17:44:12 UTC (rev 24280)
@@ -986,6 +986,15 @@
drawcircball(GL_LINE_LOOP, unitmat[3], size, unitmat);
}
}
+
+ /* Screen aligned trackball rot circle */
+ if(drawflags & MAN_ROT_T) {
+ if(G.f & G_PICKSEL) glLoadName(MAN_ROT_T);
+
+ UI_ThemeColor(TH_TRANSFORM);
+ drawcircball(GL_LINE_LOOP, unitmat[3], 0.2f*size, unitmat);
+ }
+
/* Screen aligned view rot circle */
if(drawflags & MAN_ROT_V) {
if(G.f & G_PICKSEL) glLoadName(MAN_ROT_V);
More information about the Bf-blender-cvs
mailing list