diff options
author | Matt Ebb <matt@mke3.net> | 2010-01-20 11:30:40 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-01-20 11:30:40 +0300 |
commit | 02ca0fda8ea86c5b5b05b8d1ef6cc81e8f280523 (patch) | |
tree | 37fc44b7dab5951dbaa6c45899be99178df6b210 /source/blender/editors/space_image/image_draw.c | |
parent | e8b123a1e46270de28c00d87dba8fd4c1ca2a416 (diff) |
Moved the image paint tool and the vertex/weight paint tool (blend mode?)
to the Brush data. This now works the same way as sculpt, with named
preset brushes that retain settings.
Diffstat (limited to 'source/blender/editors/space_image/image_draw.c')
-rw-r--r-- | source/blender/editors/space_image/image_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/image_draw.c b/source/blender/editors/space_image/image_draw.c index 8889ca5c052..69d0156d2fa 100644 --- a/source/blender/editors/space_image/image_draw.c +++ b/source/blender/editors/space_image/image_draw.c @@ -625,7 +625,7 @@ static void draw_image_paint_helpers(SpaceImage *sima, ARegion *ar, Scene *scene brush= paint_brush(&scene->toolsettings->imapaint.paint); - if(brush && (scene->toolsettings->imapaint.tool == PAINT_TOOL_CLONE)) { + if(brush && (brush->imagepaint_tool == PAINT_TOOL_CLONE)) { /* this is not very efficient, but glDrawPixels doesn't allow drawing with alpha */ clonerect= get_alpha_clone_image(scene, &w, &h); |