Fix for node group "make" adding sockets in wrong order #112281

Merged
Lukas Tönne merged 1 commits from LukasTonne/blender:fix-single-node-group-socket-order into main 2023-09-12 14:27:16 +02:00

1 Commits

Author SHA1 Message Date
Lukas Tönne e6c3ed7666 Fix for node group "make" adding sockets in wrong order.
Making a group from a single node that has some connections will add the
connected outputs and inputs first, then add all unconnected outputs and
inputs. This can lead to incorrect socket order (out-in-out-in).

This patch integrates unconnected sockets into the main outputs/inputs
loops to ensure all outputs are added before inputs.
2023-09-12 14:16:22 +02:00