Cycles: BVH statistics print was missing for spatially split BVH tree

This commit is contained in:
Sergey Sharybin 2015-08-21 03:42:25 +02:00
parent 30067b499a
commit 9b57d70f3b

@ -276,6 +276,8 @@ BVHNode* BVHBuild::run()
else if(!params.use_spatial_split) { else if(!params.use_spatial_split) {
/*rotate(rootnode, 4, 5);*/ /*rotate(rootnode, 4, 5);*/
rootnode->update_visibility(); rootnode->update_visibility();
}
if(rootnode != NULL) {
VLOG(1) << "BVH build statistics:\n" VLOG(1) << "BVH build statistics:\n"
<< " Build time: " << time_dt() - build_start_time << "\n" << " Build time: " << time_dt() - build_start_time << "\n"
<< " Total number of nodes: " << " Total number of nodes: "