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:
authorJulian Eisel <eiseljulian@gmail.com>2016-02-10 02:01:25 +0300
committerJulian Eisel <eiseljulian@gmail.com>2016-02-10 02:01:25 +0300
commitd6e936254eb90496f21e97bdd00b1b8dacbf9b35 (patch)
tree13097fff6aca314cde00a068cea65589b3f8e428 /source/blender/editors/transform/transform_manipulator.c
parente902ba270e68f9dd5aa07fb469a9ea396556e941 (diff)
Fix manipulator drawing width controlled by gpencil thickness!1!!
Diffstat (limited to 'source/blender/editors/transform/transform_manipulator.c')
-rw-r--r--source/blender/editors/transform/transform_manipulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c
index 7e4e6bc0f70..c3ac1968d65 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);