Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Mours <pmours@nvidia.com>2020-12-09 19:06:28 +0300
committerPatrick Mours <pmours@nvidia.com>2020-12-09 19:06:28 +0300
commit41bca5a3eed81d79a62899fcb04fa76674f09c88 (patch)
treea94232d7a32e251d20e7f928e859230fd848f7de /source/blender/blenloader/intern/versioning_userdef.c
parentc93f826661334926fc15504243f61c85242bec42 (diff)
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).
Diffstat (limited to 'source/blender/blenloader/intern/versioning_userdef.c')
0 files changed, 0 insertions, 0 deletions