diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-07-08 17:53:01 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-07-08 19:09:52 +0300 |
commit | 3f6e17ddaf87ba81c73c107e5dc5504646adde96 (patch) | |
tree | 1b58d79d99c8f69c2cdec26190527d1f25766d64 /source/blender/draw | |
parent | 7767e080a03174d0538444a82d3d7baf72d7b843 (diff) |
Fix T63659 "Viewport render image" don't process corectly "Display As" option
Diffstat (limited to 'source/blender/draw')
-rw-r--r-- | source/blender/draw/engines/workbench/workbench_deferred.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/workbench/workbench_deferred.c b/source/blender/draw/engines/workbench/workbench_deferred.c index f7ce1acfd27..735a0dcf7a0 100644 --- a/source/blender/draw/engines/workbench/workbench_deferred.c +++ b/source/blender/draw/engines/workbench/workbench_deferred.c @@ -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; } |