Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2016-02-09 11:54:44 +0300
committerJoshua Leung <aligorith@gmail.com>2016-02-09 11:55:07 +0300
commit73b672ee9738ff6c4df66cf5b0cf329f05a91e6a (patch)
tree1964c7a76ae0531086979f244190c10d78514aab /source/blender/editors/transform/transform.c
parent7e5cabb6b65d6c5140cb513d5500944f28af3c98 (diff)
Fix: Transform constraint/helper line drawing had incorrect thickness when GPencil strokes are shown
Diffstat (limited to 'source/blender/editors/transform/transform.c')
-rw-r--r--source/blender/editors/transform/transform.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c
index 307194ca592..29c152c2f6e 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);