CleanUp: Remove header only definition

node_draw_link_straight existed in header files without a body
This commit is contained in:
Jeroen Bakker 2020-10-02 11:47:49 +02:00
parent b5ad69832e
commit 5476017d07
2 changed files with 0 additions and 11 deletions

View File

@ -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)

View File

@ -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,