Commit: 5155c51844181400d154ef4245978e832c97e698
Author: Antonioya
Date:   Tue Aug 28 16:21:35 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB5155c51844181400d154ef4245978e832c97e698

Fix T56529: Viewport ColorChage with Overlay "Fade 3D Objects"

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

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 fffef635633..2e237ac7fe8 100644
--- a/source/blender/draw/engines/gpencil/gpencil_engine.c
+++ b/source/blender/draw/engines/gpencil/gpencil_engine.c
@@ -667,8 +667,7 @@ void GPENCIL_draw_scene(void *ved)
        /* paper pass to display a confortable area to draw over complex scenes 
with geometry */
        if ((!is_render) && (obact) && (obact->type == OB_GPENCIL)) {
                if (((v3d->flag2 & V3D_RENDER_OVERRIDE) == 0) &&
-                   (v3d->gp_flag & V3D_GP_SHOW_PAPER) &&
-                   (stl->g_data->gp_cache_used > 0))
+                   (v3d->gp_flag & V3D_GP_SHOW_PAPER))
                {
                        DRW_draw_pass(psl->paper_pass);
                }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to