diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-07-04 23:26:32 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-07-04 23:26:32 +0400 |
commit | b4b5d9c24ec26a51c72b0b695ba749a2b93e4e62 (patch) | |
tree | 92c199703efd1a482ff78bfe72d966730c48798b /source/blender/editors/sculpt_paint/paint_stroke.c | |
parent | c4eeda267315731c4cf446c3ed030d4f8c158b52 (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 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c index 452e2885d7a..e87f8ca6827 100644 --- a/source/blender/editors/sculpt_paint/paint_stroke.c +++ b/source/blender/editors/sculpt_paint/paint_stroke.c @@ -155,7 +155,8 @@ static float event_tablet_data(const wmEvent *event, int *pen_flip) return pressure; } -static bool paint_tool_require_location(Brush *brush, PaintMode mode) { +static bool paint_tool_require_location(Brush *brush, PaintMode mode) +{ switch (mode) { case PAINT_SCULPT: if (ELEM4(brush->sculpt_tool, SCULPT_TOOL_GRAB, SCULPT_TOOL_ROTATE, @@ -163,9 +164,9 @@ static bool paint_tool_require_location(Brush *brush, PaintMode mode) { { return false; } - else + else { return true; - + } default: break; } |