diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2020-01-31 17:23:17 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2020-01-31 18:49:24 +0300 |
commit | 4f8f0f3208b51fd2c599917415dcfaa3cf424d5f (patch) | |
tree | e7e517f15f6aadf257bf9ca6892107662ef588a4 /intern/cycles/render/film.cpp | |
parent | aa81a05de8680befc87740658128511a8ade4b85 (diff) |
Fix issues in Cycles standalone, particularly related to render display
Some code was removed to avoid storing the combined pass when viewport
rendering other passes. But we can keep this by default, Blender overrides
the list of passes entirely.
Diffstat (limited to 'intern/cycles/render/film.cpp')
-rw-r--r-- | intern/cycles/render/film.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/render/film.cpp b/intern/cycles/render/film.cpp index bd274844b52..4af0f3c45f0 100644 --- a/intern/cycles/render/film.cpp +++ b/intern/cycles/render/film.cpp @@ -324,9 +324,12 @@ NODE_DEFINE(Film) Film::Film() : Node(node_type) { + Pass::add(PASS_COMBINED, passes); + use_light_visibility = false; filter_table_offset = TABLE_OFFSET_INVALID; cryptomatte_passes = CRYPT_NONE; + display_pass = PASS_COMBINED; need_update = true; } |