bdk-blender/intern
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
..
atomic Intern/atomic: Fix const qualifier for atomic_load_ptr. 2022-05-31 21:05:15 +08:00
audaspace CMake: fix AUDASPACE disabling WITH_PYTHON for Blender 2022-05-20 11:18:49 +10:00
clog File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
cycles Fix #113325: Zero-sized curve leads to OptiX error 2023-12-06 15:25:04 +01:00
dualcon Cleanup: Compilation warnings 2022-03-18 12:07:08 +01:00
eigen File headers: manually convert files to use SPDX headers 2022-02-11 15:15:49 +11:00
ffmpeg Fix ffmpeg warnings due to missing header include 2023-06-16 15:26:54 +02:00
ghost Fix #112935: Wrong window order handling on macOS 14 2023-11-14 13:30:33 +01:00
glew-mx File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
guardedalloc Build: fix NetBSD error in guardedalloc 2023-06-15 13:27:39 +02:00
iksolver Cleanup: spelling in comments, capitalize tags 2022-05-13 09:29:25 +10:00
itasc Cleanup: remove argument to doxygen \file 2022-03-25 12:10:30 +11:00
libc_compat Fix compilation on Linux, glibc 2.34, and CentOS libraries 2022-09-21 12:33:07 +02:00
libmv Libmv: Remove FreeBSD sincos() workaround 2023-06-15 13:17:44 +02:00
locale Fix building with boost >= 1.81 2023-06-15 13:23:10 +02:00
mantaflow Fix T102257: Crash when making an Object as Effector set to Guide and trying to scrub the timeline 2022-11-28 15:00:10 +01:00
memutil File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
mikktspace Mikktspace: Reduce number of data queries to caller 2022-04-23 15:09:41 +02:00
opencolorio Cleanup: clarify what is scene linear color space in conversion conversion 2022-05-23 15:34:50 +02:00
opensubdiv Fix missing OpenMP in Linux builds 2022-10-31 20:29:50 +01:00
openvdb File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
quadriflow File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
rigidbody Cleanup: spelling in comments, capitalize tags 2022-05-13 09:29:25 +10:00
sky Cleanup: spelling in comments 2022-06-30 12:14:22 +10:00
utfconv Cleanup: use C++ comments for disabled code 2022-04-13 13:47:04 +10:00
wayland_dynload GHOST/Wayland: support dynamic loading libraries for Wayland 2022-07-06 15:30:47 +10:00
CMakeLists.txt GHOST/Wayland: support dynamic loading libraries for Wayland 2022-07-06 15:30:47 +10:00