Commit: 5476017d070b182d39672a40f404173cf1932994
Author: Jeroen Bakker
Date:   Fri Oct 2 11:47:49 2020 +0200
Branches: master
https://developer.blender.org/rB5476017d070b182d39672a40f404173cf1932994

CleanUp: Remove header only definition

node_draw_link_straight existed in header files without a body

===================================================================

M       source/blender/editors/space_node/drawnode.c
M       source/blender/editors/space_node/node_intern.h

===================================================================

diff --git a/source/blender/editors/space_node/drawnode.c 
b/source/blender/editors/space_node/drawnode.c
index 9db89ec1ba2..9373c434b9b 100644
--- a/source/blender/editors/space_node/drawnode.c
+++ b/source/blender/editors/space_node/drawnode.c
@@ -4128,7 +4128,6 @@ void node_draw_link(View2D *v2d, SpaceNode *snode, 
bNodeLink *link)
   }
 
   node_draw_link_bezier(v2d, snode, link, th_col1, th_col2, th_col3);
-  //  node_draw_link_straight(v2d, snode, link, th_col1, do_shaded, th_col2, 
do_triple, th_col3);
 }
 
 void ED_node_draw_snap(View2D *v2d, const float cent[2], float size, 
NodeBorder border, uint pos)
diff --git a/source/blender/editors/space_node/node_intern.h 
b/source/blender/editors/space_node/node_intern.h
index a1df40ebd1c..1a0b5dc9ee8 100644
--- a/source/blender/editors/space_node/node_intern.h
+++ b/source/blender/editors/space_node/node_intern.h
@@ -156,16 +156,6 @@ bool node_link_bezier_points(struct View2D *v2d,
                              struct bNodeLink *link,
                              float coord_array[][2],
                              int resol);
-#if 0
-void node_draw_link_straight(View2D *v2d,
-                             SpaceNode *snode,
-                             bNodeLink *link,
-                             int th_col1,
-                             int do_shaded,
-                             int th_col2,
-                             int do_triple,
-                             int th_col3);
-#endif
 void draw_nodespace_back_pix(const struct bContext *C,
                              struct ARegion *region,
                              struct SpaceNode *snode,

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to