Blender Git Loki

Git Commits -> Revision d4a36c7

Revision d4a36c7 by Philipp Oeser (master)
May 14, 2021, 16:16 (GMT)
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

Commit Details:

Full Hash: d4a36c7ad55b3dfbe5fc52f6183ae26484afa5b9
Parent Commit: c3e13d5
Lines Changed: +3, -1

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021