diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-09-06 18:19:37 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-09-06 18:20:59 +0300 |
commit | 16fbb47c8860b61694b2e08270d198f8d173b32a (patch) | |
tree | 85418dad19a3af69289420e2d3ccb45cd50329fa /source/blender/editors/mask/mask_ops.c | |
parent | 4d8980a690e87306c3ae2ca8b5fc0b78f025740f (diff) |
Use normalized project functions
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 35de390274c..196285cf02a 100644 --- a/source/blender/editors/mask/mask_ops.c +++ b/source/blender/editors/mask/mask_ops.c @@ -999,7 +999,7 @@ static int slide_point_modal(bContext *C, wmOperator *op, const wmEvent *event) if (weight) { sub_v2_v2v2(c, offco, p); - project_v2_v2v2(vec, c, no); + project_v2_v2v2_normalized(vec, c, no); w = len_v2(vec); |