Fix T52452: OSL trace broken after shadow catcher recent changes.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Sat, 19 Aug 2017 13:42:43 +0000 (15:42 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Sat, 19 Aug 2017 16:14:16 +0000 (18:14 +0200)
commitc22b52cd3666ba25dd62b29a32986ac3684532ee
tree9248c2aa5824b8d4c2dfdb9e5c8f1533fcb9ab27
parent4218b9367e11559bdcc7a7b98625dd2984eef3d4
Fix T52452: OSL trace broken after shadow catcher recent changes.

We should only early out with any hit in BVH traversal if the only visibility
bits used are opaque shadow. Not when opaque shadow is one of multiple bits.
intern/cycles/kernel/bvh/bvh_traversal.h
intern/cycles/kernel/bvh/qbvh_traversal.h