diff options
author | Sebastian Koenig <sebastian_k> | 2021-02-08 13:11:33 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2021-02-08 13:14:34 +0300 |
commit | c33a3cfd9aaba9686d24349189bb2a9b6351cdfb (patch) | |
tree | 4a4083b121026cca9be3d34514dcfb4e4e6268fa /source/blender/editors/space_image | |
parent | 62ef35db6d7f06f7c84e66a86ea7b989305a3b2d (diff) |
Mask: Use control point position when handle is selected
This is something what comes after an experiment, which makes behavior
more desirable. Basically, for Lock-to-Selection functionality always
use control point position if any of control point itself or handles
are selected.
Initial patch from Sebastian, modification from Sergey.
Differential Revision: https://developer.blender.org/D10265
Diffstat (limited to 'source/blender/editors/space_image')
-rw-r--r-- | source/blender/editors/space_image/image_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/image_ops.c b/source/blender/editors/space_image/image_ops.c index e7f468f2f26..a3052a919e7 100644 --- a/source/blender/editors/space_image/image_ops.c +++ b/source/blender/editors/space_image/image_ops.c @@ -898,7 +898,7 @@ static int image_view_selected_exec(bContext *C, wmOperator *UNUSED(op)) } } else if (ED_space_image_check_show_maskedit(sima, obedit)) { - if (!ED_mask_selected_minmax(C, min, max, true)) { + if (!ED_mask_selected_minmax(C, min, max, false)) { return OPERATOR_CANCELLED; } } |