[Bf-blender-cvs] [716638458d1] blender-v2.83-release: GPencil: Fix unreported noise using Market Chisel pen

Antonio Vazquez noreply at git.blender.org
Fri May 1 19:17:12 CEST 2020


Commit: 716638458d1517342da807aca3b382944b1fd7ba
Author: Antonio Vazquez
Date:   Fri May 1 19:17:04 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rB716638458d1517342da807aca3b382944b1fd7ba

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.

===================================================================

M	source/blender/editors/gpencil/gpencil_paint.c

===================================================================

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;



More information about the Bf-blender-cvs mailing list