Fix Smear Tool too weak on high poly meshes
The defaults for the Smear tool were making it too weak in high poly meshes, specially the alpha/pressure option enabled by default. Now this option is disabled, it has a linear pressure curve and less spacing. Reviewed By: sergey Differential Revision: https://developer.blender.org/D8134
This commit is contained in:
parent
9c29803255
commit
3118636f81
|
@ -1603,7 +1603,8 @@ void BKE_brush_sculpt_reset(Brush *br)
|
|||
break;
|
||||
case SCULPT_TOOL_SMEAR:
|
||||
br->alpha = 1.0f;
|
||||
br->spacing = 7;
|
||||
br->spacing = 5;
|
||||
br->flag &= ~BRUSH_ALPHA_PRESSURE;
|
||||
br->flag &= ~BRUSH_SPACE_ATTEN;
|
||||
br->curve_preset = BRUSH_CURVE_SPHERE;
|
||||
break;
|
||||
|
|
|
@ -2148,8 +2148,7 @@ static float brush_strength(const Sculpt *sd,
|
|||
final_pressure = pressure * pressure;
|
||||
return final_pressure * overlap * feather;
|
||||
case SCULPT_TOOL_SMEAR:
|
||||
final_pressure = pressure * pressure;
|
||||
return final_pressure * overlap * feather;
|
||||
return pressure * overlap * feather;
|
||||
case SCULPT_TOOL_CLAY_STRIPS:
|
||||
/* Clay Strips needs less strength to compensate the curve. */
|
||||
final_pressure = powf(pressure, 1.5f);
|
||||
|
|
Loading…
Reference in New Issue