Fix T73892: EEVEE Viewport Render Ignores Render As Wire
In the viewport an object can be set to be displayed as wire. When rendering the viewport this setting is ignored and follows the path or doing a final render. This patch will add an exception when rendering a viewport render. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D8043
This commit is contained in:
@@ -853,8 +853,7 @@ void EEVEE_materials_cache_populate(EEVEE_Data *vedata,
|
||||
*/
|
||||
bool use_volume_material = (matcache[0].shading_gpumat &&
|
||||
GPU_material_has_volume_output(matcache[0].shading_gpumat));
|
||||
|
||||
if ((ob->dt >= OB_SOLID) || DRW_state_is_image_render()) {
|
||||
if ((ob->dt >= OB_SOLID) || DRW_state_is_scene_render()) {
|
||||
if (use_sculpt_pbvh) {
|
||||
struct DRWShadingGroup **shgrps_array = BLI_array_alloca(shgrps_array, materials_len);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user