Page MenuHome

Fix T85966: Wrong link picked when dragging multi-input socket
AbandonedPublic

Authored by Fabian Schempp (fabian_schempp) on Mar 2 2021, 11:13 PM.

Details

Summary

The socket drag operator stored the index of the last picked socket
into RNA in case the mouse cursor leaves the link while dragging.

This id was not unique which is why sometimes a link from an other node
with the same id is picked.

This patch changes the way the last picked link is stored and stores a
pointer to the link directly into bNodeLinkDrag struct instead.

Diff Detail

Repository
rB Blender
Branch
master
Build Status
Buildable 13208
Build 13208: arc lint + arc unit