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:
authorMATILLAT Quentin <qmatillat@gmail.com>2019-08-20 16:07:23 +0300
committerMATILLAT Quentin <qmatillat@gmail.com>2019-08-20 16:07:23 +0300
commit137754bba38f4a080545401a3db9857accfc7ace (patch)
treebc8bf8e59f44b99338e49d5305b47788a0929b81 /intern/cycles/bvh/bvh_embree_converter.cpp
parentcc6c338b250376dce6a8e6ea7fcd5ddc542ad470 (diff)
Update embree to support all kind of curve
Diffstat (limited to 'intern/cycles/bvh/bvh_embree_converter.cpp')
-rw-r--r--intern/cycles/bvh/bvh_embree_converter.cpp2
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;