[Bf-blender-cvs] [9b57d70] master: Cycles: BVH statistics print was missing for spatially split BVH tree
Sergey Sharybin
noreply at git.blender.org
Mon Aug 24 09:58:53 CEST 2015
Commit: 9b57d70f3b486611701e8a5b966fce9e1c380d81
Author: Sergey Sharybin
Date: Fri Aug 21 03:42:25 2015 +0200
Branches: master
https://developer.blender.org/rB9b57d70f3b486611701e8a5b966fce9e1c380d81
Cycles: BVH statistics print was missing for spatially split BVH tree
===================================================================
M intern/cycles/bvh/bvh_build.cpp
===================================================================
diff --git a/intern/cycles/bvh/bvh_build.cpp b/intern/cycles/bvh/bvh_build.cpp
index a44ad65..9e93d6b 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: "
More information about the Bf-blender-cvs
mailing list