diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-15 04:29:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-15 04:29:56 +0400 |
commit | 7cc5af4ef3869f6a1d2766eb5643f94e2f540cfa (patch) | |
tree | 42c7e5d6179e20e479e8eae7792c7091cc9ffd31 /source/blender/editors/space_view3d/drawobject.c | |
parent | f8bf58e0f21c59c4440165fbad55b082846b6b54 (diff) |
minor refactor for rect functions. more consistent naming.
Diffstat (limited to 'source/blender/editors/space_view3d/drawobject.c')
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index b651dfcb8db..c1b2e2f07e2 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -2162,7 +2162,7 @@ static void mesh_foreachScreenEdge__mapFunc(void *userData, int index, const flo /* make an int copy */ int s_int[2][2] = {{s[0][0], s[0][1]}, {s[1][0], s[1][1]}}; - if (!BLI_segment_in_rcti(&data->win_rect, s_int[0], s_int[1])) { + if (!BLI_rcti_isect_segment(&data->win_rect, s_int[0], s_int[1])) { return; } } |