[Bf-blender-cvs] [4c42e949e98] master: GP: Reduce render noise pixel in blend borders
Antonioya
noreply at git.blender.org
Thu Feb 7 16:31:12 CET 2019
Commit: 4c42e949e98fea9b9c8b64d9062a379749b77aa1
Author: Antonioya
Date: Thu Feb 7 16:30:42 2019 +0100
Branches: master
https://developer.blender.org/rB4c42e949e98fea9b9c8b64d9062a379749b77aa1
GP: Reduce render noise pixel in blend borders
===================================================================
M source/blender/draw/engines/gpencil/gpencil_render.c
===================================================================
diff --git a/source/blender/draw/engines/gpencil/gpencil_render.c b/source/blender/draw/engines/gpencil/gpencil_render.c
index 7ccd4e5fab1..bf1255ced54 100644
--- a/source/blender/draw/engines/gpencil/gpencil_render.c
+++ b/source/blender/draw/engines/gpencil/gpencil_render.c
@@ -337,7 +337,7 @@ void GPENCIL_render_to_image(void *vedata, RenderEngine *engine, struct RenderLa
blend_pixel(gp_pixel_rgba, src_pixel_rgba, gp_pixel_rgba);
- gp_pixel_rgba[3] = src_pixel_rgba[3];
+ gp_pixel_rgba[3] = gp_pixel_rgba[3] > src_pixel_rgba[3] ? gp_pixel_rgba[3] : src_pixel_rgba[3];
}
}
}
More information about the Bf-blender-cvs
mailing list