diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-24 06:51:46 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-24 06:51:46 +0400 |
commit | 2f348d8b5d7d897ad44d192a2fd5f2b99b906c76 (patch) | |
tree | 1b2612031fd1cb0e521c2e0e444e7b0bd2b77646 /source/blender/editors/space_logic/logic_buttons.c | |
parent | d6fd5266d0514e6d31fd0e11aab5322846d78589 (diff) |
style cleanup: mainly for mesh code, also some WM function use.
Diffstat (limited to 'source/blender/editors/space_logic/logic_buttons.c')
-rw-r--r-- | source/blender/editors/space_logic/logic_buttons.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_logic/logic_buttons.c b/source/blender/editors/space_logic/logic_buttons.c index 0acb15874c7..4117e07063d 100644 --- a/source/blender/editors/space_logic/logic_buttons.c +++ b/source/blender/editors/space_logic/logic_buttons.c @@ -137,10 +137,10 @@ static int cut_links_intersect(uiLinkLine *line, float mcoords[][2], int tot) int i, b; rcti rectlink; - rectlink.xmin= (int) (line->from->x1 + line->from->x2) / 2; - rectlink.ymin= (int) (line->from->y1 + line->from->y2) / 2; - rectlink.xmax= (int) (line->to->x1 + line->to->x2) / 2; - rectlink.ymax= (int) (line->to->y1 + line->to->y2) / 2; + rectlink.xmin = (int) (line->from->x1 + line->from->x2) / 2; + rectlink.ymin = (int) (line->from->y1 + line->from->y2) / 2; + rectlink.xmax = (int) (line->to->x1 + line->to->x2) / 2; + rectlink.ymax = (int) (line->to->y1 + line->to->y2) / 2; if(ui_link_bezier_points(&rectlink, coord_array, LINK_RESOL)){ for(i=0; i<tot-1; i++) |