diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-25 13:33:08 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-25 13:33:08 +0400 |
commit | e63ab3505fe1ebde327cbddd08471dde87b4e8ee (patch) | |
tree | d5afbcd1b8da9a4b50d561709601f6d8bc4837da /source/blender/editors | |
parent | 08be3e06d931c4075ea65ce4de4b422e5d9ee162 (diff) |
use math functions rather then macros for bicubic interpolation.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_node/node_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_node/node_draw.c b/source/blender/editors/space_node/node_draw.c index d4228ac03b7..39287226bed 100644 --- a/source/blender/editors/space_node/node_draw.c +++ b/source/blender/editors/space_node/node_draw.c @@ -357,7 +357,7 @@ static void node_update_basis(const bContext *C, bNodeTree *ntree, bNode *node) uiBlockLayoutResolve(node->block, NULL, &buty); /* ensure minimum socket height in case layout is empty */ - buty = MIN2(buty, dy - NODE_DY); + buty = min_ii(buty, dy - NODE_DY); nsock->locx = locx + NODE_WIDTH(node); /* place the socket circle in the middle of the layout */ @@ -444,7 +444,7 @@ static void node_update_basis(const bContext *C, bNodeTree *ntree, bNode *node) uiBlockLayoutResolve(node->block, NULL, &buty); /* ensure minimum socket height in case layout is empty */ - buty = MIN2(buty, dy - NODE_DY); + buty = min_ii(buty, dy - NODE_DY); nsock->locx = locx; /* place the socket circle in the middle of the layout */ |