Blender Git Loki

Git Commits -> Revision a4f81c6

Revision a4f81c6 by FabianSchempp (master)
March 2, 2021, 22:13 (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: a4f81c683896b9ed0c7ca8411c7796f7ccfe65f9
Parent Commit: 6aec656
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