[Bf-blender-cvs] [73b672e] master: Fix: Transform constraint/helper line drawing had incorrect thickness when GPencil strokes are shown

Joshua Leung noreply at git.blender.org
Tue Feb 9 10:04:47 CET 2016


Commit: 73b672ee9738ff6c4df66cf5b0cf329f05a91e6a
Author: Joshua Leung
Date:   Tue Feb 9 21:54:44 2016 +1300
Branches: master
https://developer.blender.org/rB73b672ee9738ff6c4df66cf5b0cf329f05a91e6a

Fix: Transform constraint/helper line drawing had incorrect thickness when GPencil strokes are shown

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

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

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

diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index 307194c..29c152c 100644
--- a/source/blender/editors/transform/transform.c
+++ b/source/blender/editors/transform/transform.c
@@ -1812,6 +1812,8 @@ static void drawHelpline(bContext *UNUSED(C), int x, int y, void *customdata)
 static void drawTransformView(const struct bContext *C, ARegion *UNUSED(ar), void *arg)
 {
 	TransInfo *t = arg;
+	
+	glLineWidth(1.0);
 
 	drawConstraint(t);
 	drawPropCircle(C, t);




More information about the Bf-blender-cvs mailing list