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:
authorAntonioya <blendergit@gmail.com>2018-09-12 11:36:12 +0300
committerAntonioya <blendergit@gmail.com>2018-09-12 11:37:17 +0300
commit008ed839f49726ca1f544edcfed02cf95e9fd133 (patch)
tree996aaff77ffb8aa9f8e001edba6320a3c8baeb16
parenta3241a8ff79e0e5cdd485e278331d8ca3322447b (diff)
GP: Fix problem with brush angle parameter
The angle was related to random settings, but this is wrong.
-rw-r--r--source/blender/editors/gpencil/gpencil_paint.c3
1 files changed, 1 insertions, 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);
}