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
path: root/source
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-05-07 15:19:12 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-05-07 15:19:12 +0300
commit592c3881bae4b063e88444d8341aa5b488b5abb5 (patch)
tree7020e7e0d241b671e82c47288f204ddb7cdd2815 /source
parent1a3fb3e8b1ef1e43adb4e082c09a10caad805880 (diff)
Silence compilation error around possible fall-through
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt.c2
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: