diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2019-04-04 16:07:30 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2019-04-04 17:44:10 +0300 |
commit | 01d0903f1e93bfa0933adfd1d55fb669948e013f (patch) | |
tree | e3413b3c67cc2a747302763a20186afdbde4744d /source/blender/draw/engines/eevee/eevee_materials.c | |
parent | df3c1dde04442b148c547f09fac51a32589f83ea (diff) |
EEVEE+Workbench: Show partsys in final rendering
In final rendering mode the display type was tested for
visibility flag. This should only occus when doing viewport
rendering
Reviewed By: fclem
Maniphest Tasks: T63056
Differential Revision: https://developer.blender.org/D4643
Diffstat (limited to 'source/blender/draw/engines/eevee/eevee_materials.c')
-rw-r--r-- | source/blender/draw/engines/eevee/eevee_materials.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/eevee_materials.c b/source/blender/draw/engines/eevee/eevee_materials.c index 99a3c0c06cc..32ec54b1ca6 100644 --- a/source/blender/draw/engines/eevee/eevee_materials.c +++ b/source/blender/draw/engines/eevee/eevee_materials.c @@ -1551,7 +1551,7 @@ void EEVEE_materials_cache_populate(EEVEE_Data *vedata, EEVEE_ViewLayerData *sld */ bool use_volume_material = (gpumat_array[0] && GPU_material_use_domain_volume(gpumat_array[0])); - if (ob->dt >= OB_SOLID) { + if (DRW_state_is_image_render() || ob->dt >= OB_SOLID) { /* Get per-material split surface */ char *auto_layer_names; int *auto_layer_is_srgb; |