diff options
author | Sebastian Herholz <sebastian.herholz@intel.com> | 2022-10-06 15:39:44 +0300 |
---|---|---|
committer | Sebastian Herholz <sebastian.herholz@intel.com> | 2022-10-06 15:39:51 +0300 |
commit | e1a334875567418ab7a878d7ffac77f083ad8b10 (patch) | |
tree | 2efa09a4e8ead4353da345c9f830ae6c55c48de1 /intern/cycles/cmake/external_libs.cmake | |
parent | 423c1366b05e1024f771ca0b5e2cfde65cbb9edc (diff) |
Fix T101458: Changing volume density when pg is enabled causes crash
Changing volume parameters during rendering could cause a crash
when guiding was enabled. It was due to an unintialized state paramter
at the beginning of the path tracing process.
In addition guiding is disabled when dealing with almost delta volumes
(i.e., g close to 1.0 or -1.0).
Diffstat (limited to 'intern/cycles/cmake/external_libs.cmake')
-rw-r--r-- | intern/cycles/cmake/external_libs.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/cmake/external_libs.cmake b/intern/cycles/cmake/external_libs.cmake index 9335024f2eb..9524cda54f5 100644 --- a/intern/cycles/cmake/external_libs.cmake +++ b/intern/cycles/cmake/external_libs.cmake @@ -274,7 +274,7 @@ endif() ########################################################################### if(CYCLES_STANDALONE_REPOSITORY AND WITH_CYCLES_PATH_GUIDING) - if(EXISTS ${_cycles_lib_dir}) + if(NOT openpgl_DIR AND EXISTS ${_cycles_lib_dir}) set(openpgl_DIR ${_cycles_lib_dir}/openpgl/lib/cmake/openpgl) endif() |