Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-12-20 14:00:05 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-12-20 14:00:05 +0400
commit39daf283ae260b6cd8b85e4b269959c421010268 (patch)
treeac77905f4cb491878efc4552d945bc929a6d7f23 /source/blender/editors/mask/mask_add.c
parentb54ac216220bfbd54c6a1799f868166643a723fa (diff)
Don't use with_resol suffix for functions which doesn't get resolution
Diffstat (limited to 'source/blender/editors/mask/mask_add.c')
-rw-r--r--source/blender/editors/mask/mask_add.c10
1 files changed, 5 insertions, 5 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;