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:
authorCampbell Barton <ideasman42@gmail.com>2016-01-24 12:30:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-01-24 12:30:41 +0300
commit54b992ae6159d0bf788adaa5d585d82d17333f1e (patch)
tree0f7f73bac5dcb1b0a7595a3dd5621c6e03beb07f /source/blender/editors/sculpt_paint
parent7c1e369987bcfc0c9b0687570a9afe1c772c1666 (diff)
Fix glLineWidth state use w/ grid floor and brush
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r--source/blender/editors/sculpt_paint/paint_cursor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_cursor.c b/source/blender/editors/sculpt_paint/paint_cursor.c
index 2f4dc549694..2ba07971424 100644
--- a/source/blender/editors/sculpt_paint/paint_cursor.c
+++ b/source/blender/editors/sculpt_paint/paint_cursor.c
@@ -1064,6 +1064,7 @@ static void paint_draw_cursor(bContext *C, int x, int y, void *UNUSED(unused))
}
/* make lines pretty */
+ glLineWidth(1.0f);
glEnable(GL_BLEND);
glEnable(GL_LINE_SMOOTH);