GPencil: Fix unreported noise using Market Chisel pen

The interpolated points recalculated the angle again and this added noise. The angle must not be calculated and must use the previous thickness.
This commit is contained in:
Antonio Vazquez 2020-05-01 19:17:04 +02:00
parent b2d850efc0
commit 716638458d
1 changed files with 0 additions and 5 deletions

View File

@ -3250,11 +3250,6 @@ static void gpencil_add_arc_points(tGPsdata *p, float mval[2], int segments)
pt->pressure = pt_prev->pressure;
pt->strength = pt_prev->strength;
/* Apply angle of stroke to brush size. */
if (brush_settings->draw_angle_factor != 0.0f) {
gp_brush_angle_segment(p, pt_prev, pt);
}
/* Apply randomness to pressure. */
if (brush_settings->draw_random_press > 0.0f) {
float rand = BLI_rng_get_float(p->rng) * 2.0f - 1.0f;