Fix #104438 : Lazy mix connects wrong sockets #104457

Merged
Damien Picard merged 1 commits from wannes.malfait/blender-addons:nw_mix_disabled_sockets into blender-v3.5-release 2023-03-05 11:48:01 +01:00

1 Commits

Author SHA1 Message Date
a0bd936d6b Fix #104438 : Lazy mix connects wrong sockets
Because the new mix nodes have different modes, the correct output
socket to connect is not just the first one, but the first enabled one.
There were already some checks in place for this, but apparently not yet
in all the needed places.

The current state of the code for the "Merge Nodes" operator is
terrible, and should probably be refactored in a future update. It is
becoming very hard to maintain.
2023-02-28 15:43:22 +01:00