Fix T49290: Specific .blend with hair crashes in MacOS 2.78 RC1 on render
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 13 Sep 2016 08:59:48 +0000 (10:59 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 14 Sep 2016 08:26:21 +0000 (10:26 +0200)
commit290e6505904592d4e64b490e2c4d3d3822dbea6b
tree8344208bef1927f768aff165fbf79a004a75a76d
parent5de77bf8dc041f6738d68da6366f5ddf3877f313
Fix T49290: Specific .blend with hair crashes in MacOS 2.78 RC1 on render

The issue was caused by some false-positive empty non-AABB intersection.
Tried to tweak it a bit so it does not record intersection anymore.

Hopefully will work for all platforms. Tested here on iMac and Debian.
intern/cycles/bvh/bvh.cpp