CleanUp: snode_group_offset -> space_node_group_offset
This commit is contained in:
@@ -578,7 +578,7 @@ static int node_group_separate_exec(bContext *C, wmOperator *op)
|
|||||||
return OPERATOR_CANCELLED;
|
return OPERATOR_CANCELLED;
|
||||||
}
|
}
|
||||||
/* get node tree offset */
|
/* get node tree offset */
|
||||||
snode_group_offset(snode, &offx, &offy);
|
space_node_group_offset(snode, &offx, &offy);
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case NODE_GS_COPY:
|
case NODE_GS_COPY:
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ typedef struct bNodeLinkDrag {
|
|||||||
/* space_node.c */
|
/* space_node.c */
|
||||||
|
|
||||||
/* transform between View2Ds in the tree path */
|
/* 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 */
|
/* node_draw.c */
|
||||||
int node_get_colorid(struct bNode *node);
|
int node_get_colorid(struct bNode *node);
|
||||||
|
|||||||
@@ -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;
|
bNodeTreePath *path = snode->treepath.last;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user