change to pressure & sculpt mode:
Ignore size+pressure when the sculpt tool doesnt use dynamic size brushes (grab, thumb for eg). The problem was if you didnt jab the stylus on the tablet hard enough you'd end up with a tiny brush since the initial pressure was used.
This commit is contained in:
@@ -3906,12 +3906,13 @@ static void sculpt_update_cache_variants(bContext *C, Sculpt *sd, Object *ob,
|
||||
}
|
||||
}
|
||||
|
||||
if (BKE_brush_use_size_pressure(scene, brush)) {
|
||||
if (BKE_brush_use_size_pressure(scene, brush) && paint_supports_dynamic_size(brush)) {
|
||||
cache->pixel_radius *= cache->pressure;
|
||||
cache->radius = cache->initial_radius * cache->pressure;
|
||||
}
|
||||
else
|
||||
else {
|
||||
cache->radius = cache->initial_radius;
|
||||
}
|
||||
|
||||
cache->radius_squared = cache->radius * cache->radius;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user