Page MenuHome

Fix T88234: Crash with Eevee when shader displacement socket connection is muted
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on May 14 2021, 3:47 PM.

Details

Summary

In rB266cd7bb82ce: Nodes: Add support to mute node wires, 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.)

Diff Detail

Repository
rB Blender
Branch
T88234 (branched from master)
Build Status
Buildable 14561
Build 14561: arc lint + arc unit