CleanUp: snode_group_offset -> space_node_group_offset

This commit is contained in:
Jeroen Bakker 2020-10-02 11:46:01 +02:00
parent 01698caa66
commit d74d35e39e
3 changed files with 3 additions and 3 deletions

View File

@ -578,7 +578,7 @@ static int node_group_separate_exec(bContext *C, wmOperator *op)
return OPERATOR_CANCELLED;
}
/* get node tree offset */
snode_group_offset(snode, &offx, &offy);
space_node_group_offset(snode, &offx, &offy);
switch (type) {
case NODE_GS_COPY:

View File

@ -56,7 +56,7 @@ typedef struct bNodeLinkDrag {
/* space_node.c */
/* transform between View2Ds in the tree path */
void snode_group_offset(struct SpaceNode *snode, float *x, float *y);
void space_node_group_offset(struct SpaceNode *snode, float *x, float *y);
/* node_draw.c */
int node_get_colorid(struct bNode *node);

View File

@ -227,7 +227,7 @@ void ED_node_set_active_viewer_key(SpaceNode *snode)
}
}
void snode_group_offset(SpaceNode *snode, float *x, float *y)
void space_node_group_offset(SpaceNode *snode, float *x, float *y)
{
bNodeTreePath *path = snode->treepath.last;