Cycles: Fix hair minimal size doesn't work on GPU and SSE2 only CPUs

This commit is contained in:
Sergey Sharybin 2016-05-04 17:14:14 +02:00
parent ddd6be1834
commit 875df1e2b9

@ -629,6 +629,9 @@ BVHNode* BVHBuild::create_leaf_node(const BVHRange& range,
bounds[type_index].grow(ref.bounds());
visibility[type_index] |= objects[ref.prim_object()]->visibility;
if (ref.prim_type() & PRIMITIVE_ALL_CURVE) {
visibility[type_index] |= PATH_RAY_CURVE;
}
++num_new_prims;
}
else {