Fix #123670: EEVEE: Add support for new grease pencil type
EEVEE didn't support the new grease pencil object type. Which would not output the depth texture when overlays where turned off. Pull Request: https://projects.blender.org/blender/blender/pulls/123816
This commit is contained in:
parent
cb9060ede6
commit
e9cba0e588
@ -242,7 +242,7 @@ void Instance::object_sync(Object *ob)
|
||||
|
||||
const bool is_renderable_type = ELEM(ob->type,
|
||||
OB_CURVES,
|
||||
OB_GPENCIL_LEGACY,
|
||||
OB_GREASE_PENCIL,
|
||||
OB_MESH,
|
||||
OB_POINTCLOUD,
|
||||
OB_VOLUME,
|
||||
@ -296,7 +296,7 @@ void Instance::object_sync(Object *ob)
|
||||
case OB_CURVES:
|
||||
sync.sync_curves(ob, ob_handle, res_handle, ob_ref);
|
||||
break;
|
||||
case OB_GPENCIL_LEGACY:
|
||||
case OB_GREASE_PENCIL:
|
||||
sync.sync_gpencil(ob, ob_handle, res_handle);
|
||||
break;
|
||||
case OB_LIGHTPROBE:
|
||||
|
Loading…
Reference in New Issue
Block a user