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:
authorCampbell Barton <ideasman42@gmail.com>2013-05-08 16:54:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-08 16:54:47 +0400
commit8238cd6992413d8d85e48b9b5dceabbbc49d1d1f (patch)
treedee20dc71e997db1740005ffe6bab4ecc6ed7951 /source/blender/editors/mask
parent5c4f96af2c9fc5afc676cf132e8171a66a973d1b (diff)
use unsigned int, for mask rasterizer.
Diffstat (limited to 'source/blender/editors/mask')
-rw-r--r--source/blender/editors/mask/mask_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/mask/mask_draw.c b/source/blender/editors/mask/mask_draw.c
index 98fac035c16..924e25e4ef4 100644
--- a/source/blender/editors/mask/mask_draw.c
+++ b/source/blender/editors/mask/mask_draw.c
@@ -417,10 +417,10 @@ static void draw_spline_curve(const bContext *C, MaskLayer *masklay, MaskSpline
const short is_smooth = (draw_flag & MASK_DRAWFLAG_SMOOTH);
const short is_fill = (spline->flag & MASK_SPLINE_NOFILL) == 0;
- int tot_diff_point;
+ unsigned int tot_diff_point;
float (*diff_points)[2];
- int tot_feather_point;
+ unsigned int tot_feather_point;
float (*feather_points)[2];
diff_points = BKE_mask_spline_differentiate_with_resolution_ex(spline, &tot_diff_point, resol);