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/include | |
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/include')
-rw-r--r-- | source/blender/editors/include/ED_mask.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_mask.h b/source/blender/editors/include/ED_mask.h index b20dae694fc..247911bdc55 100644 --- a/source/blender/editors/include/ED_mask.h +++ b/source/blender/editors/include/ED_mask.h @@ -66,7 +66,7 @@ void ED_mask_cursor_location_get(struct ScrArea *area, float cursor[2]); bool ED_mask_selected_minmax(const struct bContext *C, float min[2], float max[2], - bool include_handles); + bool handles_as_control_point); /* mask_draw.c */ void ED_mask_draw(const struct bContext *C, const char draw_flag, const char draw_type); |