minor refactor for rect functions. more consistent naming.
[blender.git] / source / blender / editors / space_view3d / drawobject.c
index b651dfcb8dbb65b84b6e6531688d91dad505665a..c1b2e2f07e2b50fffc8e8b1bb0eaa7da8b140a8f 100644 (file)
@@ -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;
                                }
                        }