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:
Diffstat (limited to 'intern/cycles/bvh/bvh.cpp')
-rw-r--r--intern/cycles/bvh/bvh.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/bvh/bvh.cpp b/intern/cycles/bvh/bvh.cpp
index ab230794774..664bdd98b1f 100644
--- a/intern/cycles/bvh/bvh.cpp
+++ b/intern/cycles/bvh/bvh.cpp
@@ -467,7 +467,7 @@ void RegularBVH::refit_nodes()
assert(!params.top_level);
BoundBox bbox;
- refit_node(0, pack.is_leaf[0], bbox);
+ refit_node(0, (pack.is_leaf[0])? true: false, bbox);
}
void RegularBVH::refit_node(int idx, bool leaf, BoundBox& bbox)