Blender Git Loki

Git Commits -> Revision 0e255b2

June 2, 2021, 10:24 (GMT)
Compositor: Fix image node alpha socket converted into operations twice

When translating image node sockets into operations, unavailable ones (with flag SOCK_UNAVAIL) are converted too. This causes an assertion to fail when selecting a multi-layer image with a "Combined" layer because it's mapping associated "Alpha" socket to operation output twice (as there is an unavailable "Image" socket used for combined too).

During compositing execution there is not need to create unavailable sockets as they are not linked or executed. Assertion fails since commit 93e2491, as now map add_new is used instead of just overwriting last mapped socket.

Commit Details:

Full Hash: 0e255b2e7a0497ccdb691c3aa0cf224c8ce25226
Parent Commit: 5f39310
Lines Changed: +4, -1

1 Modified Path:

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