diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-11 23:46:42 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-11 23:46:42 +0300 |
commit | 96d9801423be600268afc57c078063cd9906f609 (patch) | |
tree | ae7403e6abaf92a735f00b7881f255b732458e22 /source/blender/editors/include/ED_mask.h | |
parent | b4446b505ff719689771da58c76bcf65e997db5a (diff) |
Masking: Numpad-. now centers view to selected control points
Currently feather points are being ignored, it could be improved in the future.
Diffstat (limited to 'source/blender/editors/include/ED_mask.h')
-rw-r--r-- | source/blender/editors/include/ED_mask.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_mask.h b/source/blender/editors/include/ED_mask.h index 1611276ca70..1f13b46ff2a 100644 --- a/source/blender/editors/include/ED_mask.h +++ b/source/blender/editors/include/ED_mask.h @@ -31,6 +31,7 @@ #ifndef __ED_MASK_H__ #define __ED_MASK_H__ +struct bContext; struct wmKeyConfig; struct MaskLayer; struct MaskLayerShape; @@ -48,6 +49,7 @@ void ED_mask_point_pos__reverse(struct ScrArea *sa, struct ARegion *ar, float x, float y, float *xr, float *yr); void ED_mask_cursor_location_get(struct ScrArea *sa, float cursor[2]); +bool ED_mask_selected_minmax(const struct bContext *C, float min[2], float max[2]); void ED_operatortypes_mask(void); void ED_keymap_mask(struct wmKeyConfig *keyconf); |