Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / sculpt_paint / sculpt.c
index 9817ca4183242b700765d7d9a8119cb70b1e1d80..38fbb609283393a5c7274a29dd49bf66eb16a051 100644 (file)
@@ -1126,6 +1126,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: