Blender Git Loki

Git Commits -> Revision 41bca5a

Revision 41bca5a by Patrick Mours (master)
December 9, 2020, 16:06 (GMT)
Fix T83581: "Only local" ambient occlusion option causes error on OptiX 2.92

The SVM AO node calls "scene_intersect_local" with a NULL pointer for the intersection
information, which caused a crash with OptiX since it was not checking for this case and
always dereferencing this pointer. This fixes that by checking whether any hit information
was requested first (like is done in the BVH2 intersection routines).

Commit Details:

Full Hash: 41bca5a3eed81d79a62899fcb04fa76674f09c88
Parent Commit: c93f826
Lines Changed: +7, -1

1 Modified Path:

/intern/cycles/kernel/kernels/optix/kernel_optix.cu (+7, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021