diff options
Diffstat (limited to 'source/blender/editors/include/ED_mask.h')
-rw-r--r-- | source/blender/editors/include/ED_mask.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_mask.h b/source/blender/editors/include/ED_mask.h index 6d4d4fcff48..8cadbfde185 100644 --- a/source/blender/editors/include/ED_mask.h +++ b/source/blender/editors/include/ED_mask.h @@ -32,9 +32,24 @@ bool ED_maskedit_poll(struct bContext *C); /* Returns true when the following conditions are met: * - Current space supports mask editing. * - The space is configured to interact with mask. + * - Mask has visible and editable splines. + * + * It is not required to have mask opened for editing. */ +bool ED_maskedit_visible_splines_poll(struct bContext *C); + +/* Returns true when the following conditions are met: + * - Current space supports mask editing. + * - The space is configured to interact with mask. * - The space has mask open for editing. */ bool ED_maskedit_mask_poll(struct bContext *C); +/* Returns true when the following conditions are met: + * - Current space supports mask editing. + * - The space is configured to interact with mask. + * - The space has mask opened. + * - Mask has visible and editable splines. */ +bool ED_maskedit_mask_visible_splines_poll(struct bContext *C); + void ED_mask_deselect_all(const struct bContext *C); void ED_operatortypes_mask(void); |