diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2021-05-14 16:42:07 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2021-05-14 19:16:35 +0300 |
commit | d4a36c7ad55b3dfbe5fc52f6183ae26484afa5b9 (patch) | |
tree | 27db38f156353405f3bc075d812b85db6707486a /release | |
parent | c3e13d5a2b8e9ada467850b4629dc4f228a2b2b8 (diff) |
Fix T88234: Crash with Eevee when shader displacement socket connection is muted
In {rB266cd7bb82ce}, support for muting links was added. It might be
debatable if we define a shader as "having" displacement even if the link
is muted, but after said commit, shader_has_displacement() would return
true but still leave the returned node as NULL.
Now also return false if the link is muted (otherwise the caller would
need to additionally check the returned node as well.)
Maniphest Tasks: T88234
Differential Revision: https://developer.blender.org/D11256
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions