From 85ca4e33a64fcff958c50289d049be40b761b278 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Tue, 24 Aug 2021 14:47:09 +0200 Subject: disable other link highlights --- source/blender/editors/space_node/drawnode.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/blender/editors/space_node/drawnode.cc b/source/blender/editors/space_node/drawnode.cc index 732db4a78eb..4a4a12a9e89 100644 --- a/source/blender/editors/space_node/drawnode.cc +++ b/source/blender/editors/space_node/drawnode.cc @@ -4281,7 +4281,7 @@ void node_draw_link(View2D *v2d, SpaceNode *snode, bNodeLink *link) if (link->flag & NODE_LINK_VALID) { /* special indicated link, on drop-node */ if (link->flag & NODE_LINKFLAG_HILITE) { - th_col1 = th_col2 = TH_ACTIVE; + // th_col1 = th_col2 = TH_ACTIVE; } else if (link->flag & NODE_LINK_MUTED) { th_col1 = th_col2 = TH_REDALERT; @@ -4289,10 +4289,10 @@ void node_draw_link(View2D *v2d, SpaceNode *snode, bNodeLink *link) else { /* Regular link, highlight if connected to selected node. */ if (link->fromnode && link->fromnode->flag & SELECT) { - th_col1 = TH_EDGE_SELECT; + // th_col1 = TH_EDGE_SELECT; } if (link->tonode && link->tonode->flag & SELECT) { - th_col2 = TH_EDGE_SELECT; + // th_col2 = TH_EDGE_SELECT; } } } -- cgit v1.2.3