Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/space_node/drawnode.c')
-rw-r--r--source/blender/editors/space_node/drawnode.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/editors/space_node/drawnode.c b/source/blender/editors/space_node/drawnode.c
index 4660b7703d8..b76eb6a4879 100644
--- a/source/blender/editors/space_node/drawnode.c
+++ b/source/blender/editors/space_node/drawnode.c
@@ -512,15 +512,15 @@ static int node_resize_area_default(bNode *node, int x, int y)
if (node->flag & NODE_HIDDEN) {
rctf totr= node->totr;
/* right part of node */
- totr.xmin= node->totr.xmax-20.0f;
+ totr.xmin = node->totr.xmax-20.0f;
return BLI_in_rctf(&totr, x, y);
}
else {
/* rect we're interested in is just the bottom right corner */
rctf totr= node->totr;
/* bottom right corner */
- totr.xmin= totr.xmax-10.0f;
- totr.ymax= totr.ymin+10.0f;
+ totr.xmin = totr.xmax-10.0f;
+ totr.ymax = totr.ymin+10.0f;
return BLI_in_rctf(&totr, x, y);
}
}
@@ -952,13 +952,13 @@ static void node_update_frame(const bContext *UNUSED(C), bNodeTree *UNUSED(ntree
/* get "global" coords */
nodeSpaceCoords(node, &locx, &locy);
- node->prvr.xmin= locx + NODE_DYS;
- node->prvr.xmax= locx + node->width- NODE_DYS;
+ node->prvr.xmin = locx + NODE_DYS;
+ node->prvr.xmax = locx + node->width- NODE_DYS;
- node->totr.xmin= locx;
- node->totr.xmax= locx + node->width;
- node->totr.ymax= locy;
- node->totr.ymin= locy - node->height;
+ node->totr.xmin = locx;
+ node->totr.xmax = locx + node->width;
+ node->totr.ymax = locy;
+ node->totr.ymin = locy - node->height;
}
static void node_common_set_butfunc(bNodeType *ntype)