diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-10-13 19:52:14 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-10-13 19:52:14 +0400 |
commit | 99a386da9ecc2cd3bdf2f1149e1a7de578190c56 (patch) | |
tree | 4e0bd179c44a2163385301670e67d2fbbfe36222 /source/blender/editors/mask/mask_ops.c | |
parent | fa021e3a44ecb80a9caa8ad46ecc0d794bd26b7c (diff) |
Code cleanup: Prevent possible int->float conversion
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 704be32d6f5..d322ca931b9 100644 --- a/source/blender/editors/mask/mask_ops.c +++ b/source/blender/editors/mask/mask_ops.c @@ -1167,7 +1167,7 @@ static bool slide_spline_curvature_check(bContext *C, const wmEvent *event) { Mask *mask = CTX_data_edit_mask(C); float co[2]; - const float threshold = 19; + const float threshold = 19.0f; ED_mask_mouse_pos(CTX_wm_area(C), CTX_wm_region(C), event->mval, co); |