diff options
Diffstat (limited to 'source/blender/editors/mask/mask_ops.c')
-rw-r--r-- | source/blender/editors/mask/mask_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mask/mask_ops.c b/source/blender/editors/mask/mask_ops.c index 5c2aacf0713..c9d3bd19941 100644 --- a/source/blender/editors/mask/mask_ops.c +++ b/source/blender/editors/mask/mask_ops.c @@ -197,7 +197,7 @@ int ED_mask_feather_find_nearest(const bContext *C, Mask *mask, float normal_co[ int j; MaskSplinePoint *cur_point = &spline->points[i]; - for (j = 0; j < cur_point->tot_uw + 1; j++) { + for (j = 0; j <= cur_point->tot_uw; j++) { float cur_len, vec[2]; vec[0] = (*fp)[0] * scalex; |