From 716638458d1517342da807aca3b382944b1fd7ba Mon Sep 17 00:00:00 2001 From: Antonio Vazquez Date: Fri, 1 May 2020 19:17:04 +0200 Subject: 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. --- source/blender/editors/gpencil/gpencil_paint.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index bd7dfecf692..0f7091b8b46 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -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; -- cgit v1.2.3