[Bf-blender-cvs] [52349f5d3da] greasepencil-object: GPencil: Reduce attenuate factor

Antonio Vazquez noreply at git.blender.org
Sat Nov 2 17:24:59 CET 2019


Commit: 52349f5d3da5f9fb7621e9bfbd6613f8538ca697
Author: Antonio Vazquez
Date:   Sat Nov 2 17:23:30 2019 +0100
Branches: greasepencil-object
https://developer.blender.org/rB52349f5d3da5f9fb7621e9bfbd6613f8538ca697

GPencil: Reduce attenuate factor

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

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

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

diff --git a/source/blender/editors/gpencil/gpencil_tint.c b/source/blender/editors/gpencil/gpencil_tint.c
index 2410bff2caa..da8d06d4083 100644
--- a/source/blender/editors/gpencil/gpencil_tint.c
+++ b/source/blender/editors/gpencil/gpencil_tint.c
@@ -208,7 +208,7 @@ static bool brush_tint_apply(tGP_BrushTintData *gso,
                              const int co[2])
 {
   /* Attenuate factor to get a smoother tinting. */
-  float inf = brush_influence_calc(gso, radius, co) / 200.0f;
+  float inf = brush_influence_calc(gso, radius, co) / 100.0f;
   Brush *brush = gso->brush;
   bGPDspoint *pt = &gps->points[pt_index];



More information about the Bf-blender-cvs mailing list