diff options
Diffstat (limited to 'intern/cycles/bvh/bvh_embree_converter.cpp')
-rw-r--r-- | intern/cycles/bvh/bvh_embree_converter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/bvh/bvh_embree_converter.cpp b/intern/cycles/bvh/bvh_embree_converter.cpp index ed804f59adf..969e941fafa 100644 --- a/intern/cycles/bvh/bvh_embree_converter.cpp +++ b/intern/cycles/bvh/bvh_embree_converter.cpp @@ -110,7 +110,7 @@ BVHNode *makeBVHTreeFromList(std::deque<BVHNode *> nodes) BVHNode *bvh_shrink(BVHNode *root) { if(root->is_leaf()) { - if(root->num_triangles() == 0) // Remove empty leafs + if(root->num_triangles() == 0) // Remove empty leafs return nullptr; else return root; |