0
0
forked from blender/blender
blender/intern
Patrick Mours 836063cbd6 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 14:31:45 +01:00
..
atomic Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
audaspace CMake: fix AUDASPACE disabling WITH_PYTHON for Blender 2022-05-20 11:18:49 +10:00
clog Cleanup: format (with BraceWrapping::AfterControlStatement "MultiLine") 2023-05-02 09:37:49 +10:00
cycles Fix #113325: Zero-sized curve leads to OptiX error 2023-12-06 14:31:45 +01:00
dualcon Cleanup: format (with BraceWrapping::AfterControlStatement "MultiLine") 2023-05-02 09:37:49 +10:00
eigen Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
ffmpeg Cleanup: format (with BraceWrapping::AfterControlStatement "MultiLine") 2023-05-02 09:37:49 +10:00
ghost Ghost: Fix build error with MSVC 17.7 preview 3 2023-12-06 14:29:34 +01:00
guardedalloc Build: fix NetBSD error in guardedalloc 2023-06-13 19:46:11 +02:00
iksolver Fix set but unused variable in IK solver 2023-04-19 10:02:09 +02:00
itasc Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
libc_compat Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
libmv Libmv: Remove FreeBSD sincos() workaround 2023-05-30 13:55:27 +02:00
locale Cleanup: move comments wrapped with MultiLine control statements 2023-05-02 09:54:48 +10:00
mantaflow BLI_path: add a size argument to BLI_path_frame 2023-05-02 17:19:48 +10:00
memutil Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
mikktspace Cleanup: format (with BraceWrapping::AfterControlStatement "MultiLine") 2023-05-02 09:37:49 +10:00
opencolorio Build: support OpenColorIO 2.3 2023-10-02 19:55:51 +02:00
opensubdiv Cleanup: format (with BraceWrapping::AfterControlStatement "MultiLine") 2023-05-02 09:37:49 +10:00
openvdb Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
quadriflow Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
renderdoc_dynload Cleanup: sort file, uppercase booleans, add missing headers 2023-05-17 13:13:10 +10:00
rigidbody Cleanup: format (with BraceWrapping::AfterControlStatement "MultiLine") 2023-05-02 09:37:49 +10:00
sky Cleanup: use C-style code comments, format 2023-03-03 16:29:22 +11:00
utfconv Remove "All Rights Reserved" from Blender Foundation copyright code 2023-03-30 10:51:59 +02:00
wayland_dynload GHOST/Wayland: improve workaround for libdecor setting the window state 2022-11-16 12:31:29 +11:00
CMakeLists.txt Cleanup: sort file, uppercase booleans, add missing headers 2023-05-17 13:13:10 +10:00