Blender Git Loki
Git Commits -> Revision 4041e65
Revision 4041e65 by Julian Eisel (master) August 4, 2015, 13:25 (GMT) |
Nodes: Make method to detect hovered link during transform more predictable/responsive The old method: The "old" method used the node dimensions to get a number of lines and checked if they intersect with the node link. Issue with this is that only a small part of the actual node surface is checked, making the method a bit unpredictable or unresponsive. The new method: The new method checks for intersections within the entire node surface. If multiple links are intersected, the node with the smallest distance from the *upper left corner* to the link is chosen. Reviewed by @campbellbarton (tm) |
Commit Details:
Full Hash: 4041e654cd145cc09d8cd12d20e5b24e99174242
Parent Commit: 07b525f
Lines Changed: +29, -23
1 Modified Path:
/source/blender/editors/space_node/node_relationships.c (+29, -23) (Diff)