697114c4b64fe053178898478e0afe2d90f77955
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: https://projects.blender.org/blender/blender/pulls/115044
…
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
11%
C
6.3%
GLSL
2.2%
CMake
1.3%
Other
1.1%
