diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-07 15:19:12 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-07 15:19:12 +0300 |
commit | 592c3881bae4b063e88444d8341aa5b488b5abb5 (patch) | |
tree | 7020e7e0d241b671e82c47288f204ddb7cdd2815 /source | |
parent | 1a3fb3e8b1ef1e43adb4e082c09a10caad805880 (diff) |
Silence compilation error around possible fall-through
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 34e60187a73..cc462631647 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -1129,6 +1129,8 @@ static float brush_strength( case BRUSH_MASK_SMOOTH: return alpha * pressure * feather; } + BLI_assert(!"Not supposed to happen"); + break; case SCULPT_TOOL_CREASE: case SCULPT_TOOL_BLOB: |