[Bf-blender-cvs] [d6e9362] master: Fix manipulator drawing width controlled by gpencil thickness!1!!

Julian Eisel noreply at git.blender.org
Wed Feb 10 00:02:51 CET 2016


Commit: d6e936254eb90496f21e97bdd00b1b8dacbf9b35
Author: Julian Eisel
Date:   Wed Feb 10 00:01:25 2016 +0100
Branches: master
https://developer.blender.org/rBd6e936254eb90496f21e97bdd00b1b8dacbf9b35

Fix manipulator drawing width controlled by gpencil thickness!1!!

===================================================================

M	source/blender/editors/transform/transform_manipulator.c

===================================================================

diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c
index 7e4e6bc..c3ac196 100644
--- a/source/blender/editors/transform/transform_manipulator.c
+++ b/source/blender/editors/transform/transform_manipulator.c
@@ -1663,11 +1663,11 @@ void BIF_draw_manipulator(const bContext *C)
 	drawflags = rv3d->twdrawflag;    /* set in calc_manipulator_stats */
 
 	if (v3d->twflag & V3D_DRAW_MANIPULATOR) {
-
 		glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
 		glEnable(GL_BLEND);
-		if (v3d->twtype & V3D_MANIP_ROTATE) {
+		glLineWidth(1.0f);
 
+		if (v3d->twtype & V3D_MANIP_ROTATE) {
 			if (G.debug_value == 3) {
 				if (G.moving & (G_TRANSFORM_OBJ | G_TRANSFORM_EDIT))
 					draw_manipulator_rotate_cyl(v3d, rv3d, drawflags, v3d->twtype, MAN_MOVECOL, true, is_picksel);




More information about the Bf-blender-cvs mailing list