forked from blender/blender
Patrick Mours
6b09a0277b
Empty hair geometry in Cycles may still report having one curve, even when there are no actual segments in that curve. This caused an attempt to build an acceleration structure with zero primitives, which due to other setup OptiX rejected with an error. Fix that by checking the number of segments rather than the number of curves in the hair geometry, since the former will always be zero for empty geometry. Pull Request: blender/blender#115044 |
||
---|---|---|
.. | ||
app | ||
blender | ||
bvh | ||
cmake | ||
device | ||
doc | ||
graph | ||
hydra | ||
integrator | ||
kernel | ||
scene | ||
session | ||
subd | ||
test | ||
util | ||
CMakeLists.txt |