diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-09-13 17:39:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-09-13 18:24:50 +0300 |
commit | 6d359e4498848d795b8043e923850d0a0da7f4ed (patch) | |
tree | d46262708081379039f41d7c33f14028d4ef84de /source/blender/editors/gpencil/gpencil_brush.c | |
parent | 2a01fb61f8402b31b9f85039e28acf310b1da332 (diff) |
Cleanup: use explicit 2d suffix for imm utils
Avoid ambiguity between 2d/3d (which were already named).
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_brush.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_brush.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/gpencil_brush.c b/source/blender/editors/gpencil/gpencil_brush.c index ea21aa81d3d..1cee8db792a 100644 --- a/source/blender/editors/gpencil/gpencil_brush.c +++ b/source/blender/editors/gpencil/gpencil_brush.c @@ -991,11 +991,11 @@ static void gp_brush_drawcursor(bContext *C, int x, int y, void *UNUSED(customda /* Inner Ring: Light color for action of the brush */ /* TODO: toggle between add and remove? */ immUniformColor4ub(255, 255, 255, 200); - imm_draw_circle_wire(pos, x, y, brush->size, 40); + imm_draw_circle_wire_2d(pos, x, y, brush->size, 40); /* Outer Ring: Dark color for contrast on light backgrounds (e.g. gray on white) */ immUniformColor3ub(30, 30, 30); - imm_draw_circle_wire(pos, x, y, brush->size + 1, 40); + imm_draw_circle_wire_2d(pos, x, y, brush->size + 1, 40); immUnbindProgram(); |