Fix #108336: Treat node sockets with muted links as linked #108375

Merged

1 Commits

Author SHA1 Message Date
Leon Schittek 7faf56a98a Fix #108336: Treat node sockets with muted links as connected
Prevent make links operator from connecting to sockets that are already
linked to a muted link.

The `SOCK_IS_LINKED` flag is used to check if there already is a link
connecting to the socket but when the link is muted, the flag wasn't set
leading to issues in parts of the code that used the flag to check
for any type of connected link.
This commit now also sets `SOCK_IS_LINKED` when links are muted and
adds an additional check in places where different behavior is expected
for muted links.
2023-05-28 15:57:01 +02:00