Blender Git Commit Log
Git Commits -> Revision 8f707a7
Revision 8f707a7 by Fabian Schempp (master) February 11, 2021, 07:16 (GMT) |
UI: Multi-input node socket spacing and interaction This commit makes links connected to multi-input sockets spread verticaly along the socket. Sockets grow if more links are connected and the node layout updates accordingly. Links are sorted by their incoming angle to avoid crossing links. Also, link picking is updated to work with spread links and bezier links. Currently the multi-input sockets are used in the join geometry node. The mutli-input sockets look like a vertical rounded rectangle. Currently they do not support the other custom socket shapes. Reviewed By Hans Goudey, with cleanup and additional edits Differential Revision: https://developer.blender.org/D10181 |
Commit Details:
Full Hash: 8f707a72e81833bb835324ddc635b29dfbe87a9f
Parent Commit: 9a9e19f
Committed By: Hans Goudey
Lines Changed: +391, -34
7 Modified Paths:
/source/blender/blenkernel/intern/node.cc (+1, -0) (Diff)
/source/blender/editors/space_node/drawnode.c (+15, -6) (Diff)
/source/blender/editors/space_node/node_draw.c (+153, -1) (Diff)
/source/blender/editors/space_node/node_edit.c (+44, -1) (Diff)
/source/blender/editors/space_node/node_intern.h (+8, -0) (Diff)
/source/blender/editors/space_node/node_relationships.c (+163, -23) (Diff)
/source/blender/makesdna/DNA_node_types.h (+7, -3) (Diff)
/source/blender/editors/space_node/drawnode.c (+15, -6) (Diff)
/source/blender/editors/space_node/node_draw.c (+153, -1) (Diff)
/source/blender/editors/space_node/node_edit.c (+44, -1) (Diff)
/source/blender/editors/space_node/node_intern.h (+8, -0) (Diff)
/source/blender/editors/space_node/node_relationships.c (+163, -23) (Diff)
/source/blender/makesdna/DNA_node_types.h (+7, -3) (Diff)