Blender Git Loki

Git Commits -> Revision 3522532

March 3, 2021, 17:15 (GMT)
Fix T85966: Wrong link picked when dragging multi-input socket

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.

Differential Revision: https://developer.blender.org/D10590

Commit Details:

Full Hash: 3522532cb26899341e125a1ff3fe27e5c6189da8
Parent Commit: 3bf8074
Committed By: Julian Eisel
Lines Changed: +9, -18

2 Modified Paths:

/source/blender/editors/space_node/node_intern.h (+3, -0) (Diff)
/source/blender/editors/space_node/node_relationships.c (+6, -18) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021