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>2020-05-05 09:12:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-05-05 09:26:14 +0300
commitdb09b57d4eedd372a5a995c7393ad6356fa734af (patch)
treed2c49b75c197d5b92b31d3000439095ec9eb4e8e /source/blender/editors/mask
parent65194dc71a39d76d611a66400fb202a2dbd1c249 (diff)
Cleanup: use int instead of short for lasso array length
There was no reason to use a short here, this was just a convention from existing code.
Diffstat (limited to 'source/blender/editors/mask')
-rw-r--r--source/blender/editors/mask/mask_select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mask/mask_select.c b/source/blender/editors/mask/mask_select.c
index 416c1dc6e49..c8cddced99c 100644
--- a/source/blender/editors/mask/mask_select.c
+++ b/source/blender/editors/mask/mask_select.c
@@ -522,7 +522,7 @@ void MASK_OT_select_box(wmOperatorType *ot)
static bool do_lasso_select_mask(bContext *C,
const int mcoords[][2],
- short mcoords_len,
+ const int mcoords_len,
const eSelectOp sel_op)
{
ScrArea *area = CTX_wm_area(C);