Blender Git Loki

Git Commits -> Revision 8105407

Revision 8105407 by Manuel Castilla (soc-2021-curves)
June 21, 2021, 14:31 (GMT)
Fix: Image node alpha socket converted to operations twice

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.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D11566

Commit Details:

Full Hash: 81054071bcf38a209b82215260e6bd54fd792eba
Parent Commit: 8a9d0cf
Committed By: Dilith Jayakody
Lines Changed: +1, -1

1 Modified Path:

/source/blender/compositor/nodes/COM_ImageNode.cc (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021