Cycles: Fix regular BVH nodes refit
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 8 Sep 2016 13:08:35 +0000 (15:08 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 8 Sep 2016 13:08:35 +0000 (15:08 +0200)
commit6de08f6cd1cb9e50736a0a43bf37d621c6eb2b87
treeaa20253a0ecb3028ae0fe73e2209353692e837fb
parent27e2317513afd0459120eaef7101ab3c1e025ea0
Cycles: Fix regular BVH nodes refit

For proper indexing to work we need to use unaligned node with
identity transform instead of aligned nodes when doing refit.

To be backported to 2.78 release.
intern/cycles/bvh/bvh.cpp