GPencil New Stroke Smoothing: Don't perform smoothing on pressure values
As noted by Antonio and Daniel, performing smoothing on the pressure values for new strokes doesn't work that great. From an artist POV, it is apparently "very strange that line thickness shrink suddenly after drawing it".
This commit is contained in:
parent
3bdd7ba34f
commit
24d931ea58
@ -711,9 +711,10 @@ static void gp_stroke_newfrombuffer(tGPsdata *p)
|
||||
}
|
||||
|
||||
/* smooth stroke - only if there's something to do */
|
||||
/* NOTE: No pressure smoothing, or else we get annoying thickness changes while drawing... */
|
||||
if (gpl->draw_smoothfac > 0.0f) {
|
||||
for (i = 0; i < gps->totpoints; i++) {
|
||||
gp_smooth_stroke(gps, i, gpl->draw_smoothfac, true);
|
||||
gp_smooth_stroke(gps, i, gpl->draw_smoothfac, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user