diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-10-13 20:06:18 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-10-13 20:06:18 +0400 |
commit | bdc41ca756ab48f0a83b4fd97560969521b4b433 (patch) | |
tree | 6bea4875ad4094520d8db38e45e946207d9bde10 /source/blender/editors/mask/mask_ops.c | |
parent | bcee57e74e587260f2a7050b3b8a1894fe592466 (diff) |
Code cleanup: Move output arguments to the end of the list
Diffstat (limited to 'source/blender/editors/mask/mask_ops.c')
-rw-r--r-- | source/blender/editors/mask/mask_ops.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/editors/mask/mask_ops.c b/source/blender/editors/mask/mask_ops.c index 486704c9b9e..93e59f3244e 100644 --- a/source/blender/editors/mask/mask_ops.c +++ b/source/blender/editors/mask/mask_ops.c @@ -583,9 +583,10 @@ static bool spline_under_mouse_get(const bContext *C, } if (closest_dist_squared < SQUARE(threshold) && closest_spline != NULL) { float diff_score; - if (ED_mask_find_nearest_diff_point(C, mask, co, threshold, false, + if (ED_mask_find_nearest_diff_point(C, mask, co, threshold, + false, NULL, true, false, NULL, NULL, NULL, NULL, - NULL, true, false, &diff_score)) + &diff_score)) { if (SQUARE(diff_score) < closest_dist_squared) { return false; @@ -1206,8 +1207,9 @@ static SlideSplineCurvatureData *slide_spline_curvature_customdata( ED_mask_mouse_pos(CTX_wm_area(C), CTX_wm_region(C), event->mval, co); if (!ED_mask_find_nearest_diff_point(C, mask, co, threshold, false, + NULL, true, false, &mask_layer, &spline, &point, &u, - NULL, true, false, NULL)) + NULL)) { return NULL; } |