Blender Git Loki
Git Commits -> Revision 88d94d8
Revision 88d94d8 by Kévin Dietrich (master) March 30, 2021, 13:41 (GMT) |
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. |
Commit Details:
Full Hash: 88d94d89fadd9d7933f26679aeb0d1c2fa86fe34
Parent Commit: f1fe42d
Lines Changed: +8, -0
1 Modified Path:
/intern/cycles/render/background.cpp (+8, -0) (Diff)