Sculpt: Make global smooth factor control the strengh directly

This commit is contained in:
Pablo Dobarro 2021-03-03 18:52:16 +01:00
parent 75794afdcd
commit d3742022c2
1 changed files with 2 additions and 2 deletions

View File

@ -2473,11 +2473,11 @@ static float brush_strength(const Sculpt *sd,
}
case SCULPT_TOOL_SMOOTH: {
const float smooth_strength_base = flip * alpha * pressure * feather;
const float smooth_strength_base = flip * pressure * feather;
if (cache->alt_smooth) {
return smooth_strength_base * sd->smooth_strength_factor;
}
return smooth_strength_base;
return smooth_strength_base * alpha;
}
case SCULPT_TOOL_PINCH: