Cleanup: Use const arguments
This commit is contained in:
@@ -4401,7 +4401,10 @@ void node_draw_link_bezier(const bContext *C,
|
||||
}
|
||||
|
||||
/* NOTE: this is used for fake links in groups too. */
|
||||
void node_draw_link(const bContext *C, View2D *v2d, SpaceNode *snode, bNodeLink *link)
|
||||
void node_draw_link(const bContext *C,
|
||||
const View2D *v2d,
|
||||
const SpaceNode *snode,
|
||||
const bNodeLink *link)
|
||||
{
|
||||
int th_col1 = TH_WIRE_INNER, th_col2 = TH_WIRE_INNER, th_col3 = TH_WIRE;
|
||||
|
||||
|
||||
@@ -187,9 +187,9 @@ void nodelink_batch_start(struct SpaceNode *snode);
|
||||
void nodelink_batch_end(struct SpaceNode *snode);
|
||||
|
||||
void node_draw_link(const struct bContext *C,
|
||||
struct View2D *v2d,
|
||||
struct SpaceNode *snode,
|
||||
struct bNodeLink *link);
|
||||
const struct View2D *v2d,
|
||||
const struct SpaceNode *snode,
|
||||
const struct bNodeLink *link);
|
||||
void node_draw_link_bezier(const struct bContext *C,
|
||||
const struct View2D *v2d,
|
||||
const struct SpaceNode *snode,
|
||||
|
||||
Reference in New Issue
Block a user