diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2020-02-09 01:19:59 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-06-04 15:37:20 +0300 |
commit | 41866070d3154dcdfc7ff38b6c472f2f6b591c13 (patch) | |
tree | 38deace6c6da8623d13fac6b589e56470f27cd46 /intern/cycles/bvh/bvh_build.cpp | |
parent | 953c232db31f1a76f99ceb43119681ce0df1ab17 (diff) |
Cleanup: remove unused flag
Diffstat (limited to 'intern/cycles/bvh/bvh_build.cpp')
-rw-r--r-- | intern/cycles/bvh/bvh_build.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/intern/cycles/bvh/bvh_build.cpp b/intern/cycles/bvh/bvh_build.cpp index db156219f09..814b5ced5d2 100644 --- a/intern/cycles/bvh/bvh_build.cpp +++ b/intern/cycles/bvh/bvh_build.cpp @@ -885,9 +885,6 @@ BVHNode *BVHBuild::create_leaf_node(const BVHRange &range, const vector<BVHRefer bounds[type_index].grow(ref.bounds()); visibility[type_index] |= objects[ref.prim_object()]->visibility_for_tracing(); - if (ref.prim_type() & PRIMITIVE_ALL_CURVE) { - visibility[type_index] |= PATH_RAY_CURVE; - } ++num_new_prims; } else { |