Page MenuHome

Fix: Image node alpha socket converted to operations twice
ClosedPublic

Authored by Manuel Castilla (manzanilla) on Jun 10 2021, 1:48 PM.

Details

Summary

On selecting a multi-layer image with a combined pass, a "Combined"
socket is created and default combined pass socket "Image" is
disabled by setting SOCK_UNAVAIL flag. When converting into
operations, ImageNode converts alpha socket on finding any socket with
a combined pass without checking the flag.

Since commit rB93e2491ee724 an assertion fails when mapping sockets
twice because now map add_new is used.

Diff Detail

Repository
rB Blender