diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-04-05 10:43:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-04-05 10:46:25 +0300 |
commit | 4dadb6d4453d84d537e25e753f7904ce5c8539fb (patch) | |
tree | 57421276b4aeaacfc2f8bc3d973295f8f6fd13d7 /source/blender/editors/gpencil/gpencil_paint.c | |
parent | bcd95dbdbb2dc397b72dbc9c2640340d3a51be99 (diff) |
Naming constancy for 'imm' utility functions
- use 'imm_draw_' prefix for functions that draw.
- use '_3d' suffix for 3d functions, no suffix for 2d functions.
- use terms fill/wire (shorter than filled / lined).
Also add `imm_draw_circle_fill_3d` (only had wire version)
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_paint.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index 73f393537ba..ed1ffc13602 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -1852,7 +1852,7 @@ static void gpencil_draw_eraser(bContext *UNUSED(C), int x, int y, void *p_ptr) glEnable(GL_BLEND); immUniformColor4ub(255, 100, 100, 20); - imm_draw_filled_circle(pos, x, y, p->radius, 40); + imm_draw_circle_fill(pos, x, y, p->radius, 40); setlinestyle(6); /* TODO: handle line stipple in shader */ |