0
0
forked from blender/blender
blender/intern/cycles
Patrick Mours 6b09a0277b Fix #113325: Zero-sized curve leads to OptiX error
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
2023-12-06 15:25:04 +01:00
..
app Cycles: add USD as a file format for Cycles standalone rendering 2022-04-29 19:19:19 +02:00
blender Fix T101020: Cycles Add Performance Preset is broken 2022-11-24 10:19:26 +01:00
bvh Cleanup: spelling in comments 2022-08-17 15:43:17 +10:00
cmake Fix WITH_CYCLES_ONEAPI_BINARIES issues with make release 2022-08-24 15:38:27 +02:00
device Fix #113325: Zero-sized curve leads to OptiX error 2023-12-06 15:25:04 +01:00
doc Fix missing license file from last commit 2022-02-11 18:08:32 +01:00
graph Cleanup: replace CHECK_TYPE macro with static_assert 2022-08-19 20:36:02 +02:00
hydra Fix T102990: OpenVDB files load very slow from network drives 2023-01-12 15:40:19 +01:00
integrator Fix #106405: Cycles multi GPU crash with vertex color baking 2023-05-15 12:32:39 +02:00
kernel Fix #113461: Cycles subsurface artifacts with volume interior 2023-11-14 13:31:19 +01:00
scene Fix #106776: Volume cube won't render in Cycles 2023-05-15 14:25:03 +02:00
session Fix T101651: Cycles crashes when failing to initialize render device 2022-10-26 10:13:11 +02:00
subd License headers: use SPDX for remaining files in Cycles 2022-02-15 17:52:38 +11:00
test Cleanup: remove __KERNEL_CPU__ 2022-07-25 17:43:35 +02:00
util Fix T103960: build issue with GCC 13 in Cycles thread code 2023-09-13 12:49:28 +02:00
CMakeLists.txt Fix build error with WITH_CYCLES_KERNEL_NATIVE_ONLY on macOS Arm 2022-07-25 11:23:25 +02:00