diff options
author | Jeroen Bakker <jeroen@blender.org> | 2020-02-28 16:45:49 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2020-02-28 16:46:40 +0300 |
commit | 94dcfe7a776db49675556772ecaa273c8dda890e (patch) | |
tree | 2721570ac9b9c010ab05b6b44c66bde54b16a41f /source/blender/editors | |
parent | e8ab0137f8766a8db82b051cec84c1bdc7b6ce19 (diff) |
Preview Render: Disable Unneeded Render Passes
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/render/render_preview.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/render/render_preview.c b/source/blender/editors/render/render_preview.c index 3ca7dde3524..a42064ff7b9 100644 --- a/source/blender/editors/render/render_preview.c +++ b/source/blender/editors/render/render_preview.c @@ -371,6 +371,10 @@ static Scene *preview_prepare_scene( if (sce) { ViewLayer *view_layer = sce->view_layers.first; + /* Only enable the combined renderpass */ + view_layer->passflag = SCE_PASS_COMBINED; + view_layer->eevee.render_passes = 0; + /* this flag tells render to not execute depsgraph or ipos etc */ sce->r.scemode |= R_BUTS_PREVIEW; /* set world always back, is used now */ |