Commit: 1e7ed3d85c7421267ca12d1a07d2d621fdfa1717
Author: Antonio Vazquez
Date:   Fri Feb 9 20:10:41 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rB1e7ed3d85c7421267ca12d1a07d2d621fdfa1717

Missed in previous commit

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

M       source/blender/draw/engines/gpencil/gpencil_engine.c

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

diff --git a/source/blender/draw/engines/gpencil/gpencil_engine.c 
b/source/blender/draw/engines/gpencil/gpencil_engine.c
index 3ce4868afe7..fe44a787440 100644
--- a/source/blender/draw/engines/gpencil/gpencil_engine.c
+++ b/source/blender/draw/engines/gpencil/gpencil_engine.c
@@ -1122,6 +1122,7 @@ static void GPENCIL_render_to_image(void *vedata, struct 
RenderEngine *engine, s
                else {
                        /* transparent grease pencil, so copy source render 
data */
                        copy_v4_v4(frgba, srgba);
+                       gp_depth[0] = sdepth[0];
                }
        }

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to