diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-08-21 04:42:25 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-08-24 10:46:40 +0300 |
commit | 9b57d70f3b486611701e8a5b966fce9e1c380d81 (patch) | |
tree | fc609a65f8f5bef6edd06fd55b74665cdcdb02c0 /intern/cycles/bvh/bvh_build.cpp | |
parent | 30067b499ac15d709af416fa691d801fc628d6d9 (diff) |
Cycles: BVH statistics print was missing for spatially split BVH tree
Diffstat (limited to 'intern/cycles/bvh/bvh_build.cpp')
-rw-r--r-- | intern/cycles/bvh/bvh_build.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/bvh/bvh_build.cpp b/intern/cycles/bvh/bvh_build.cpp index a44ad656316..9e93d6bccf5 100644 --- a/intern/cycles/bvh/bvh_build.cpp +++ b/intern/cycles/bvh/bvh_build.cpp @@ -276,6 +276,8 @@ BVHNode* BVHBuild::run() else if(!params.use_spatial_split) { /*rotate(rootnode, 4, 5);*/ rootnode->update_visibility(); + } + if(rootnode != NULL) { VLOG(1) << "BVH build statistics:\n" << " Build time: " << time_dt() - build_start_time << "\n" << " Total number of nodes: " |