Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-09 00:04:03 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-04-09 00:04:03 +0400
commit7cb4d78b5231671a6c05068fca907dbecac2d4f4 (patch)
tree7a5ab40e466e8af5f4423ec5c55df9221977e350 /intern/cycles/bvh/bvh_params.h
parenteaa577dfc928b5ad9e227c5da1377e3bddfbfcd4 (diff)
Fix #34921: cycles rendered a specific scene with a small high poly object
contained in a large low poly object very slow, due to failure case of fast multithread BVH binning. Tweaked parameter now to avoid this.
Diffstat (limited to 'intern/cycles/bvh/bvh_params.h')
-rw-r--r--intern/cycles/bvh/bvh_params.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/bvh/bvh_params.h b/intern/cycles/bvh/bvh_params.h
index f7bc79f71e6..ad36bdfa326 100644
--- a/intern/cycles/bvh/bvh_params.h
+++ b/intern/cycles/bvh/bvh_params.h
@@ -66,7 +66,7 @@ public:
sah_triangle_cost = 1.0f;
min_leaf_size = 1;
- max_leaf_size = 0x7FFFFFF;
+ max_leaf_size = 8;
top_level = false;
use_cache = false;