From 008ed839f49726ca1f544edcfed02cf95e9fd133 Mon Sep 17 00:00:00 2001 From: Antonioya Date: Wed, 12 Sep 2018 10:36:12 +0200 Subject: GP: Fix problem with brush angle parameter The angle was related to random settings, but this is wrong. --- source/blender/editors/gpencil/gpencil_paint.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index 14b7bfc4e1c..53b58cd6dd9 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -664,8 +664,7 @@ static short gp_stroke_addpoint( } /* apply angle of stroke to brush size */ - if ((brush->gpencil_settings->flag & GP_BRUSH_GROUP_RANDOM) && - (brush->gpencil_settings->draw_angle_factor > 0.0f)) + if (brush->gpencil_settings->draw_angle_factor != 0.0f) { gp_brush_angle(gpd, brush, pt, mval); } -- cgit v1.2.3