diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-11 17:18:33 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-11 18:18:14 +0300 |
commit | e4cdda548a582b626f4a42bb702f166178a083e5 (patch) | |
tree | 758961376b02806cb7613ccef7810d09d1f7430d /intern/cycles/bvh/bvh.cpp | |
parent | 6cd13a221f374091203dd38ea0f9fc649a2b9a7f (diff) |
Cycles: Remove unused SAH from BVH pack
Diffstat (limited to 'intern/cycles/bvh/bvh.cpp')
-rw-r--r-- | intern/cycles/bvh/bvh.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/intern/cycles/bvh/bvh.cpp b/intern/cycles/bvh/bvh.cpp index b1273d64098..9e63485c04e 100644 --- a/intern/cycles/bvh/bvh.cpp +++ b/intern/cycles/bvh/bvh.cpp @@ -89,15 +89,6 @@ void BVH::build(Progress& progress) return; } - /* compute SAH */ - if(!params.top_level) - pack.SAH = root->computeSubtreeSAHCost(params); - - if(progress.get_cancel()) { - root->deleteSubtree(); - return; - } - /* pack triangles */ progress.set_substatus("Packing BVH triangles and strands"); pack_primitives(); |