Fix #94413: Hide added input sockets on group inputs with hidden sockets
commit9b21dffe4587357eed710e9228d1d6ddd61fdfef
authorLeon Schittek <leon.schittek@gmx.net>
Thu, 18 Apr 2024 17:20:05 +0000 (18 19:20 +0200)
committerHans Goudey <hooglyboogly@noreply.localhost>
Thu, 18 Apr 2024 17:20:05 +0000 (18 19:20 +0200)
treeb291b73444635a466d4bf0f340985492cc4eb59e
parent9a7f4a3b58d9a3659a0a5471fd5852d268bf6fb2
Fix #94413: Hide added input sockets on group inputs with hidden sockets

Improve working with multiple group input nodes by automatically
hiding new node group input sockets on any group input node with
hidden extension socket.

Whenever the extension socket is hidden,  the user can now expect
the socket visibility of the group input node to stay fixed.
When the extension socket is shown on the other hand, the group input
node will update when sockets are added to the group interface.

Pull Request: https://projects.blender.org/blender/blender/pulls/120067
source/blender/nodes/intern/node_socket.cc