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

This commit is contained in:
Antonio Vazquez 2018-08-28 16:21:35 +02:00
parent 2e9a0e1254
commit 5155c51844
Notes: blender-bot 2023-02-14 07:17:43 +01:00
Referenced by issue #56529, Viewport Color Chage with Overlay "Fade 3D Objects"
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}