diff options
-rw-r--r-- | source/blender/draw/engines/gpencil/gpencil_render.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/draw/engines/gpencil/gpencil_render.c b/source/blender/draw/engines/gpencil/gpencil_render.c index 1fe008e4d44..9a1ac56324f 100644 --- a/source/blender/draw/engines/gpencil/gpencil_render.c +++ b/source/blender/draw/engines/gpencil/gpencil_render.c @@ -338,7 +338,12 @@ void GPENCIL_render_to_image(void *vedata, RenderEngine *engine, struct RenderLa } else { /* blend gp render */ - blend_pixel(tmp, gp_pixel_rgba); + if (tmp[3] < 1.0f) { + blend_pixel(tmp, gp_pixel_rgba); + } + else { + copy_v4_v4(gp_pixel_rgba, tmp); + } } } } |