From 9b57d70f3b486611701e8a5b966fce9e1c380d81 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 21 Aug 2015 03:42:25 +0200 Subject: [PATCH] Cycles: BVH statistics print was missing for spatially split BVH tree --- intern/cycles/bvh/bvh_build.cpp | 2 ++ 1 file changed, 2 insertions(+) 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: "