Fix T49622: Grease pencil not rendering out of VSE
This commit is contained in:
parent
dc95c31372
commit
acbbcdfbb8
Notes:
blender-bot
2023-02-14 07:30:30 +01:00
Referenced by issue #49622, Grease pencil not rendering out of VSE
|
@ -442,7 +442,7 @@ static void add_gpencil_renderpass(OGLRender *oglrender, RenderResult *rr, Rende
|
|||
if (BLI_listbase_is_empty(&gpd->layers)) {
|
||||
return;
|
||||
}
|
||||
if ((oglrender->v3d->flag2 & V3D_SHOW_GPENCIL) == 0) {
|
||||
if (oglrender->v3d != NULL && (oglrender->v3d->flag2 & V3D_SHOW_GPENCIL) == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue