diff options
author | julianeisel <julian_eisel@web.de> | 2014-12-26 18:38:51 +0300 |
---|---|---|
committer | julianeisel <julian_eisel@web.de> | 2014-12-26 18:38:51 +0300 |
commit | da78d2d74255dd5a6e84da5e023e119e27a4e6d8 (patch) | |
tree | 0fae9697702fc0a1263836a3dc22f3f49e680c31 /source/blender/editors/gpencil | |
parent | cf178f71ac47453e635d5adc07b33a7539b9ac5e (diff) |
GPencil: Use a different brush cursor for eraser
D783 with minor edits to increase contrast
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index 692523f3ed6..67b0a67b6fb 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -1362,13 +1362,18 @@ static void gpencil_draw_eraser(bContext *UNUSED(C), int x, int y, void *p_ptr) glTranslatef((float)x, (float)y, 0.0f); - glColor4ub(255, 255, 255, 128); - glEnable(GL_LINE_SMOOTH); glEnable(GL_BLEND); + glColor4ub(255, 100, 100, 20); + glutil_draw_filled_arc(0.0, M_PI * 2.0, p->radius, 40); + + setlinestyle(6); + + glColor4ub(255, 100, 100, 200); glutil_draw_lined_arc(0.0, M_PI * 2.0, p->radius, 40); + setlinestyle(0); glDisable(GL_BLEND); glDisable(GL_LINE_SMOOTH); |