Fix T63659 "Viewport render image" don't process corectly "Display As" option

This commit is contained in:
Clément Foucault 2019-07-08 16:53:01 +02:00
parent 7767e080a0
commit 3f6e17ddaf
Notes: blender-bot 2023-10-12 12:49:04 +02:00
Referenced by issue #63659, "Viewport render image/animation" don't process corectly  Display As [bounds and wires]
1 changed files with 1 additions and 1 deletions

View File

@ -1014,7 +1014,7 @@ void workbench_deferred_solid_cache_populate(WORKBENCH_Data *vedata, Object *ob)
if (!(DRW_object_visibility_in_active_context(ob) & OB_VISIBLE_SELF)) {
return;
}
if ((ob->dt < OB_SOLID) && !DRW_state_is_image_render()) {
if ((ob->dt < OB_SOLID) && !DRW_state_is_scene_render()) {
return;
}