diff options
author | Mike Erwin <significant.bit@gmail.com> | 2016-11-17 23:03:55 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2016-11-17 23:03:55 +0300 |
commit | d915e89ec888ff7ba1656f59bb38d14bc5fde793 (patch) | |
tree | 2a86efceac18017760214933b384659cb46e6d7c /source/blender/editors/space_image/image_draw.c | |
parent | feccadd81b0862321aed81e1dd3aaa0fe1d72e8a (diff) |
delete deprecated fdrawXORcirc function
Only one place used it, and that place was dead code already.
Diffstat (limited to 'source/blender/editors/space_image/image_draw.c')
-rw-r--r-- | source/blender/editors/space_image/image_draw.c | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/source/blender/editors/space_image/image_draw.c b/source/blender/editors/space_image/image_draw.c index e810f4db7dd..dd575619c0f 100644 --- a/source/blender/editors/space_image/image_draw.c +++ b/source/blender/editors/space_image/image_draw.c @@ -718,39 +718,6 @@ void draw_image_sample_line(SpaceImage *sima) } } -/* XXX becomes WM paint cursor */ -#if 0 -static void draw_image_view_tool(Scene *scene) -{ - ToolSettings *settings = scene->toolsettings; - Brush *brush = settings->imapaint.brush; - int mval[2]; - float radius; - int draw = 0; - - if (brush) { - if (settings->imapaint.flag & IMAGEPAINT_DRAWING) { - if (settings->imapaint.flag & IMAGEPAINT_DRAW_TOOL_DRAWING) - draw = 1; - } - else if (settings->imapaint.flag & IMAGEPAINT_DRAW_TOOL) - draw = 1; - - if (draw) { - getmouseco_areawin(mval); - - radius = BKE_brush_size_get(brush) * G.sima->zoom; - fdrawXORcirc(mval[0], mval[1], radius); - - if (brush->innerradius != 1.0) { - radius *= brush->innerradius; - fdrawXORcirc(mval[0], mval[1], radius); - } - } - } -} -#endif - static unsigned char *get_alpha_clone_image(const bContext *C, Scene *scene, int *width, int *height) { Brush *brush = BKE_paint_brush(&scene->toolsettings->imapaint.paint); |