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:
authorSebastian Koenig <sebastian_k>2021-02-08 13:11:33 +0300
committerSergey Sharybin <sergey@blender.org>2021-02-08 13:14:34 +0300
commitc33a3cfd9aaba9686d24349189bb2a9b6351cdfb (patch)
tree4a4083b121026cca9be3d34514dcfb4e4e6268fa /source/blender/editors/include
parent62ef35db6d7f06f7c84e66a86ea7b989305a3b2d (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.h2
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);