diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-03-08 08:00:06 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-03-08 08:00:06 +0400 |
commit | c36f20a7d2c3486f34ba73680881189c75cc3e7d (patch) | |
tree | 3f56868170e196111ffd178e9fd414a179211ba3 /source/blender/editors/sculpt_paint/paint_stroke.c | |
parent | ff336aca022e87be674c5ed5e522f7a961782105 (diff) |
style cleanup
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_stroke.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_stroke.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c index 2146c74fb6d..0180f50fab6 100644 --- a/source/blender/editors/sculpt_paint/paint_stroke.c +++ b/source/blender/editors/sculpt_paint/paint_stroke.c @@ -287,7 +287,7 @@ PaintStroke *paint_stroke_new(bContext *C, stroke->brush = paint_brush(paint_get_active_from_context(C)); view3d_set_viewcontext(C, &stroke->vc); - if(stroke->vc.v3d) + if (stroke->vc.v3d) view3d_get_transformation(stroke->vc.ar, stroke->vc.rv3d, stroke->vc.obact, &stroke->mats); stroke->get_location = get_location; @@ -338,7 +338,8 @@ bool paint_supports_dynamic_size(Brush *br) !ELEM4(br->sculpt_tool, SCULPT_TOOL_GRAB, SCULPT_TOOL_THUMB, SCULPT_TOOL_ROTATE, SCULPT_TOOL_SNAKE_HOOK); } -bool paint_supports_jitter(PaintMode mode) { +bool paint_supports_jitter(PaintMode mode) +{ return ELEM(mode, PAINT_SCULPT, PAINT_TEXTURE_PROJECTIVE); } |