diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-04-08 15:09:10 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-04-08 15:09:10 +0300 |
commit | 91d7f5d2463495f20f1e3a985241a2672961ad3f (patch) | |
tree | 1384b8339a1c200b2d607540bfc5c68a7e9584bf | |
parent | fd487b1f4ec0ab06ccf5bc3f6561096a755cdce2 (diff) |
Fix T74572: adaptive sampling still not working correct with shader AOVs
-rw-r--r-- | intern/cycles/render/film.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/intern/cycles/render/film.cpp b/intern/cycles/render/film.cpp index f28c943ea6c..26eda93fadd 100644 --- a/intern/cycles/render/film.cpp +++ b/intern/cycles/render/film.cpp @@ -500,16 +500,16 @@ void Film::device_update(Device *device, DeviceScene *dscene, Scene *scene) kfilm->pass_sample_count = kfilm->pass_stride; break; case PASS_AOV_COLOR: - if (kfilm->pass_aov_value_num == 0) { + if (kfilm->pass_aov_color_num == 0) { kfilm->pass_aov_color = kfilm->pass_stride; } - kfilm->pass_aov_value_num++; + kfilm->pass_aov_color_num++; break; case PASS_AOV_VALUE: - if (kfilm->pass_aov_color_num == 0) { + if (kfilm->pass_aov_value_num == 0) { kfilm->pass_aov_value = kfilm->pass_stride; } - kfilm->pass_aov_color_num++; + kfilm->pass_aov_value_num++; break; default: assert(false); |