[Bf-blender-cvs] [78673e5780d] blender2.8: GP: Add more blur samples to some FX
Antonioya
noreply at git.blender.org
Sat Oct 13 18:25:22 CEST 2018
Commit: 78673e5780dbda8099580cc70e8bcc3f1896e763
Author: Antonioya
Date: Sat Oct 13 18:24:57 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB78673e5780dbda8099580cc70e8bcc3f1896e763
GP: Add more blur samples to some FX
===================================================================
M source/blender/draw/engines/gpencil/gpencil_shader_fx.c
===================================================================
diff --git a/source/blender/draw/engines/gpencil/gpencil_shader_fx.c b/source/blender/draw/engines/gpencil/gpencil_shader_fx.c
index 43fcf1be0d2..2165fb251dc 100644
--- a/source/blender/draw/engines/gpencil/gpencil_shader_fx.c
+++ b/source/blender/draw/engines/gpencil/gpencil_shader_fx.c
@@ -887,7 +887,7 @@ static void draw_gpencil_do_blur(
e_data->input_color_tx = e_data->temp_color_tx_b;
if ((samples > 0) && ((bx > 0) || (by > 0))) {
- for (int x = 0; x < samples; x++) {
+ for (int x = 0; x < samples * 4; x++) {
/* horizontal */
blur[0] = bx;
More information about the Bf-blender-cvs
mailing list