Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2020-05-01 20:17:04 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-05-01 20:17:04 +0300
commit716638458d1517342da807aca3b382944b1fd7ba (patch)
treee7de96e3b3b435c8d2654bfd489635cd97daa25a /source/blender/editors/gpencil/gpencil_paint.c
parentb2d850efc0ec5a9d829e6bd5d2b598077c71ee1f (diff)
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.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_paint.c')
-rw-r--r--source/blender/editors/gpencil/gpencil_paint.c5
1 files changed, 0 insertions, 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;