diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-10-18 16:29:22 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-10-18 16:29:22 +0400 |
commit | b3c605e13923b372b2ff18b5970818e2aaae470a (patch) | |
tree | 29e3128462f5fc5e4309bb9710821e840a0c52d4 /source/blender/editors/mask/mask_intern.h | |
parent | dd56cc0cddc0372d0db0678c38e56364cd26a54c (diff) |
Mask editor: create new mask when trying to create new vertex without active mask set
Diffstat (limited to 'source/blender/editors/mask/mask_intern.h')
-rw-r--r-- | source/blender/editors/mask/mask_intern.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/mask/mask_intern.h b/source/blender/editors/mask/mask_intern.h index ffd4afca182..fcfcfb237e9 100644 --- a/source/blender/editors/mask/mask_intern.h +++ b/source/blender/editors/mask/mask_intern.h @@ -33,6 +33,7 @@ #define __MASK_INTERN_H__ struct bContext; +struct Mask; struct wmEvent; struct wmOperatorType; @@ -43,6 +44,8 @@ void MASK_OT_add_vertex(struct wmOperatorType *ot); void MASK_OT_add_feather_vertex(struct wmOperatorType *ot); /* mask_ops.c */ +struct Mask *ED_mask_new(struct bContext *C, const char *name); + void MASK_OT_new(struct wmOperatorType *ot); void MASK_OT_layer_new(struct wmOperatorType *ot); void MASK_OT_layer_remove(struct wmOperatorType *ot); |