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:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2021-03-30 16:40:40 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2021-03-30 16:41:33 +0300
commit88d94d89fadd9d7933f26679aeb0d1c2fa86fe34 (patch)
tree8b748ff5ea445bd242e9b57244830d668e9dbe0f /release
parentf1fe42d912f088259bbc82d597121978204e991d (diff)
Fix T87007: Cycles Background not updated if strength is initially null
When the strength is initially set to zero, the shader graph is optimized out to remove any node which will not be executed because of this, which removes pretty much every single node, except for the output. As the graph is empty, the world shader is made invisible to rays so it is not evaluated in the kernel. However, when the strength is then modified, the Background is not updated as the modification happens on the Shader Node and not on the Background Node, so it is never tagged as modified. To fix this, we need to tag the Background as modified when its shader is also modified so the Kernel data is properly updated. Regression caused by rBbbe6d44928235cd4a5cfbeaf1a1de78ed861bb92.
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions