Page MenuHome

Fix T93438: Auto linking do not work for custom sockets
ClosedPublic

Authored by Omar Emara (OmarSquircleArt) on Nov 29 2021, 9:58 AM.

Details

Summary

Currently, custom sockets are no longer supported for automatic linking
when dropping a node on a link. This is because SOCK_CUSTOM is given a
negative priority and is ignored. To fix this, SOCK_CUSTOM is now given
the lowest priority and the rest of the sockets got their priority
incremented.

Diff Detail

Repository
rB Blender

Event Timeline

Omar Emara (OmarSquircleArt) requested review of this revision.Nov 29 2021, 9:58 AM
Omar Emara (OmarSquircleArt) created this revision.

I wounder if we can just use the top internal link for the node to make the connection. I could look into that after this is fixed.

I wounder if we can just use the top internal link for the node to make the connection.

That seems reasonable. Not sure if there are corner cases where this is not the desired behavior.

This revision is now accepted and ready to land.Nov 29 2021, 10:13 AM