diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-12-20 14:00:05 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-12-20 14:00:05 +0400 |
commit | 39daf283ae260b6cd8b85e4b269959c421010268 (patch) | |
tree | ac77905f4cb491878efc4552d945bc929a6d7f23 /source/blender/editors/mask | |
parent | b54ac216220bfbd54c6a1799f868166643a723fa (diff) |
Don't use with_resol suffix for functions which doesn't get resolution
Diffstat (limited to 'source/blender/editors/mask')
-rw-r--r-- | source/blender/editors/mask/mask_add.c | 10 | ||||
-rw-r--r-- | source/blender/editors/mask/mask_draw.c | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/editors/mask/mask_add.c b/source/blender/editors/mask/mask_add.c index 7a78d60e11e..d2704923de1 100644 --- a/source/blender/editors/mask/mask_add.c +++ b/source/blender/editors/mask/mask_add.c @@ -94,8 +94,8 @@ static int find_nearest_diff_point(const bContext *C, Mask *mask, const float no float *diff_points; unsigned int tot_diff_point; - diff_points = BKE_mask_point_segment_diff_with_resolution(spline, cur_point, width, height, - &tot_diff_point); + diff_points = BKE_mask_point_segment_diff(spline, cur_point, width, height, + &tot_diff_point); if (diff_points) { int j, tot_point; @@ -103,9 +103,9 @@ static int find_nearest_diff_point(const bContext *C, Mask *mask, const float no float *feather_points = NULL, *points; if (feather) { - feather_points = BKE_mask_point_segment_feather_diff_with_resolution(spline, cur_point, - width, height, - &tot_feather_point); + feather_points = BKE_mask_point_segment_feather_diff(spline, cur_point, + width, height, + &tot_feather_point); points = feather_points; tot_point = tot_feather_point; diff --git a/source/blender/editors/mask/mask_draw.c b/source/blender/editors/mask/mask_draw.c index 50d8e653737..6b60e5ed390 100644 --- a/source/blender/editors/mask/mask_draw.c +++ b/source/blender/editors/mask/mask_draw.c @@ -425,7 +425,7 @@ static void draw_spline_curve(const bContext *C, MaskLayer *masklay, MaskSpline unsigned int tot_feather_point; float (*feather_points)[2]; - diff_points = BKE_mask_spline_differentiate_with_resolution_ex(spline, &tot_diff_point, resol); + diff_points = BKE_mask_spline_differentiate_with_resolution(spline, &tot_diff_point, resol); if (!diff_points) return; @@ -436,7 +436,7 @@ static void draw_spline_curve(const bContext *C, MaskLayer *masklay, MaskSpline glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); } - feather_points = BKE_mask_spline_feather_differentiated_points_with_resolution_ex(spline, &tot_feather_point, resol, (is_fill != FALSE)); + feather_points = BKE_mask_spline_feather_differentiated_points_with_resolution(spline, &tot_feather_point, resol, (is_fill != FALSE)); /* draw feather */ mask_spline_feather_color_get(masklay, spline, is_spline_sel, rgb_tmp); |