Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2010-01-20 11:30:40 +0300
committerMatt Ebb <matt@mke3.net>2010-01-20 11:30:40 +0300
commit02ca0fda8ea86c5b5b05b8d1ef6cc81e8f280523 (patch)
tree37fc44b7dab5951dbaa6c45899be99178df6b210 /source/blender/editors/space_image/image_draw.c
parente8b123a1e46270de28c00d87dba8fd4c1ca2a416 (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.c2
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);