diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-01-22 15:47:53 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-01-22 16:02:58 +0300 |
commit | 8a2d09eb9f5a5804ded16900523087a312ffa302 (patch) | |
tree | b97a6aba43a65fe3348f66e82e4cfa9bdaf6d623 /intern/cycles/kernel | |
parent | b06bd20a6bde49675b92a59d5439b1f3684d08b3 (diff) |
Fix T53854: branched path tracing correlation bug with transparency.
This was broken in d750d18.
Diffstat (limited to 'intern/cycles/kernel')
-rw-r--r-- | intern/cycles/kernel/kernel_path_branched.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/intern/cycles/kernel/kernel_path_branched.h b/intern/cycles/kernel/kernel_path_branched.h index 9996f52f9a4..63fe7822e2a 100644 --- a/intern/cycles/kernel/kernel_path_branched.h +++ b/intern/cycles/kernel/kernel_path_branched.h @@ -552,8 +552,7 @@ ccl_device void kernel_branched_path_integrate(KernelGlobals *kg, } /* Update Path State */ - state.flag |= PATH_RAY_TRANSPARENT; - state.transparent_bounce++; + path_state_next(kg, &state, LABEL_TRANSPARENT); ray.P = ray_offset(sd.P, -sd.Ng); ray.t -= sd.ray_length; /* clipping works through transparent */ |