diff options
author | Hans Goudey <h.goudey@me.com> | 2022-09-03 01:37:10 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-09-03 01:45:29 +0300 |
commit | aa08545a019606e9155d62144ffc773c787e31b9 (patch) | |
tree | 87528a6d21cb199c25ccbb1456f9745e4c75103e /source/blender/editors/space_node/node_intern.hh | |
parent | a736ca33ab08bc72d17418d0e55c164aa8e306d8 (diff) |
Cleanup: Use new node topology cache for sorting multi input sockets
Assuming the cost of building the cache is ammortized, this
may be be helpful because it removes some quadratic behavior.
Diffstat (limited to 'source/blender/editors/space_node/node_intern.hh')
-rw-r--r-- | source/blender/editors/space_node/node_intern.hh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/editors/space_node/node_intern.hh b/source/blender/editors/space_node/node_intern.hh index d760a976862..bbfcaed9f93 100644 --- a/source/blender/editors/space_node/node_intern.hh +++ b/source/blender/editors/space_node/node_intern.hh @@ -262,10 +262,7 @@ void NODE_OT_group_edit(wmOperatorType *ot); /* node_relationships.cc */ -void sort_multi_input_socket_links(SpaceNode &snode, - bNode &node, - bNodeLink *drag_link, - const float2 *cursor); +void sort_multi_input_socket_links(bNode &node, bNodeLink *drag_link, const float2 *cursor); void NODE_OT_link(wmOperatorType *ot); void NODE_OT_link_make(wmOperatorType *ot); |