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:
authorNicholas Bishop <nicholasbishop@gmail.com>2009-08-17 06:49:31 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2009-08-17 06:49:31 +0400
commit9d2d3a8be7c3c0b101e7f0f33bb1a04c69deaf67 (patch)
tree93345dd6c9c76d3c3052573d45e7230918a197a8 /source/blender/editors/space_buttons
parent1e0fd0d4c14824e856424000e1122dcb1c8b44dd (diff)
2.5 Paint:
* Converted vertex paint and weight paint to use the new Paint type
Diffstat (limited to 'source/blender/editors/space_buttons')
-rw-r--r--source/blender/editors/space_buttons/buttons_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_buttons/buttons_context.c b/source/blender/editors/space_buttons/buttons_context.c
index ef61299ef70..318e0b0f558 100644
--- a/source/blender/editors/space_buttons/buttons_context.c
+++ b/source/blender/editors/space_buttons/buttons_context.c
@@ -326,9 +326,9 @@ static int buttons_context_path_brush(const bContext *C, ButsContextPath *path)
if(obact->mode & OB_MODE_SCULPT)
paint_brush(&ts->sculpt->paint);
else if(obact->mode & OB_MODE_VERTEX_PAINT)
- br= ts->vpaint->brush;
+ paint_brush(&ts->vpaint->paint);
else if(obact->mode & OB_MODE_WEIGHT_PAINT)
- br= ts->wpaint->brush;
+ paint_brush(&ts->wpaint->paint);
else if(obact->mode & OB_MODE_TEXTURE_PAINT)
br= ts->imapaint.brush;
}