Commit: a3d65525148062bceef6b4644dbe8bfaf20d83d7
Author: Sergey Sharybin
Date: Mon Apr 4 18:10:24 2016 +0200
Branches: master
https://developer.blender.org/rBa3d65525148062bceef6b4644dbe8bfaf20d83d7
Cycles: Fix regular BVH not having proper visibility flags
This was caused by recent threading commit. Now because of all children
are set when they're ready need to explicitly update all parent's visibility.
===================================================================
M intern/cycles/bvh/bvh_build.cpp
===================================================================
diff --git a/intern/cycles/bvh/bvh_build.cpp b/intern/cycles/bvh/bvh_build.cpp
index 5139a62..b776963 100644
--- a/intern/cycles/bvh/bvh_build.cpp
+++ b/intern/cycles/bvh/bvh_build.cpp
@@ -318,7 +318,7 @@ BVHNode* BVHBuild::run()
rootnode = NULL;
VLOG(1) << "BVH build cancelled.";
}
- else if(!params.use_spatial_split) {
+ else {
/*rotate(rootnode, 4, 5);*/
rootnode->update_visibility();
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs