Blender
V3.3
|
#include "BKE_context.h"
#include "BKE_mask.h"
#include "DNA_scene_types.h"
#include "WM_api.h"
#include "WM_types.h"
#include "ED_clip.h"
#include "ED_image.h"
#include "ED_mask.h"
#include "ED_sequencer.h"
#include "RNA_access.h"
#include "mask_intern.h"
Go to the source code of this file.
Functions | |
Poll Functions | |
bool | ED_maskedit_poll (bContext *C) |
bool | ED_maskedit_visible_splines_poll (bContext *C) |
bool | ED_maskedit_mask_poll (bContext *C) |
bool | ED_maskedit_mask_visible_splines_poll (bContext *C) |
Registration | |
void | ED_operatortypes_mask (void) |
void | ED_keymap_mask (wmKeyConfig *keyconf) |
void | ED_operatormacros_mask (void) |
Lock-to-selection viewport preservation | |
void | ED_mask_view_lock_state_store (const bContext *C, MaskViewLockState *state) |
void | ED_mask_view_lock_state_restore_no_jump (const bContext *C, const MaskViewLockState *state) |
void ED_keymap_mask | ( | wmKeyConfig * | keyconf | ) |
Definition at line 163 of file mask_edit.c.
References ED_maskedit_poll(), wmKeyMap::poll, and WM_keymap_ensure().
Referenced by ED_spacetypes_keymap().
void ED_mask_view_lock_state_restore_no_jump | ( | const bContext * | C, |
const MaskViewLockState * | state | ||
) |
Definition at line 216 of file mask_edit.c.
References C, CTX_data_ensure_evaluated_depsgraph(), CTX_wm_space_clip(), depsgraph, ED_clip_view_lock_state_restore_no_jump(), SpaceClip::flag, NULL, SC_LOCK_SELECTION, state, and void.
Referenced by add_vertex_exec(), create_primitive_from_points(), select_all_exec(), select_exec(), slide_point_customdata(), and slide_spline_curvature_customdata().
void ED_mask_view_lock_state_store | ( | const bContext * | C, |
MaskViewLockState * | state | ||
) |
Definition at line 208 of file mask_edit.c.
References C, CTX_wm_space_clip(), ED_clip_view_lock_state_store(), NULL, and state.
Referenced by add_vertex_exec(), create_primitive_from_points(), select_all_exec(), select_exec(), slide_point_customdata(), and slide_spline_curvature_customdata().
Definition at line 61 of file mask_edit.c.
References blender::compositor::area(), C, CTX_wm_area(), ED_space_clip_maskedit_mask_poll(), ED_space_image_maskedit_mask_poll(), ED_space_sequencer_maskedit_mask_poll(), SPACE_CLIP, SPACE_IMAGE, and SPACE_SEQ.
Referenced by mask_layer_move_poll(), MASK_OT_add_feather_vertex(), MASK_OT_copy_splines(), MASK_OT_hide_view_clear(), MASK_OT_hide_view_set(), MASK_OT_layer_new(), and MASK_OT_layer_remove().
Definition at line 77 of file mask_edit.c.
References blender::compositor::area(), C, CTX_wm_area(), ED_space_clip_maskedit_mask_visible_splines_poll(), ED_space_image_maskedit_mask_visible_splines_poll(), ED_space_sequencer_maskedit_mask_poll(), SPACE_CLIP, SPACE_IMAGE, and SPACE_SEQ.
Referenced by createTransMaskingData(), MASK_OT_cyclic_toggle(), MASK_OT_delete(), MASK_OT_duplicate(), MASK_OT_feather_weight_clear(), MASK_OT_handle_type_set(), MASK_OT_normals_make_consistent(), MASK_OT_parent_clear(), MASK_OT_select(), MASK_OT_select_all(), MASK_OT_select_box(), MASK_OT_select_circle(), MASK_OT_select_lasso(), MASK_OT_select_less(), MASK_OT_select_linked(), MASK_OT_select_linked_pick(), MASK_OT_select_more(), MASK_OT_shape_key_clear(), MASK_OT_shape_key_feather_reset(), MASK_OT_shape_key_insert(), MASK_OT_shape_key_rekey(), MASK_OT_slide_point(), MASK_OT_slide_spline_curvature(), MASK_OT_switch_direction(), and paste_splines_poll().
Definition at line 29 of file mask_edit.c.
References blender::compositor::area(), C, CTX_wm_area(), ED_space_clip_maskedit_poll(), ED_space_image_maskedit_poll(), ED_space_sequencer_maskedit_poll(), SPACE_CLIP, SPACE_IMAGE, and SPACE_SEQ.
Referenced by ED_keymap_mask(), image_view_selected_poll(), and MASK_OT_new().
Definition at line 45 of file mask_edit.c.
References blender::compositor::area(), C, CTX_wm_area(), ED_space_clip_maskedit_visible_splines_poll(), ED_space_image_maskedit_visible_splines_poll(), ED_space_sequencer_maskedit_poll(), SPACE_CLIP, SPACE_IMAGE, and SPACE_SEQ.
Referenced by MASK_OT_add_vertex(), MASK_OT_primitive_circle_add(), and MASK_OT_primitive_square_add().
Definition at line 169 of file mask_edit.c.
References wmOperatorType::description, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorTypeMacro::ptr, RNA_boolean_set(), WM_operatortype_append_macro(), and WM_operatortype_macro_define().
Referenced by ED_spacemacros_init().
Definition at line 99 of file mask_edit.c.
References MASK_OT_add_feather_vertex(), MASK_OT_add_vertex(), MASK_OT_copy_splines(), MASK_OT_cyclic_toggle(), MASK_OT_delete(), MASK_OT_duplicate(), MASK_OT_feather_weight_clear(), MASK_OT_handle_type_set(), MASK_OT_hide_view_clear(), MASK_OT_hide_view_set(), MASK_OT_layer_move(), MASK_OT_layer_new(), MASK_OT_layer_remove(), MASK_OT_new(), MASK_OT_normals_make_consistent(), MASK_OT_parent_clear(), MASK_OT_parent_set(), MASK_OT_paste_splines(), MASK_OT_primitive_circle_add(), MASK_OT_primitive_square_add(), MASK_OT_select(), MASK_OT_select_all(), MASK_OT_select_box(), MASK_OT_select_circle(), MASK_OT_select_lasso(), MASK_OT_select_less(), MASK_OT_select_linked(), MASK_OT_select_linked_pick(), MASK_OT_select_more(), MASK_OT_shape_key_clear(), MASK_OT_shape_key_feather_reset(), MASK_OT_shape_key_insert(), MASK_OT_shape_key_rekey(), MASK_OT_slide_point(), MASK_OT_slide_spline_curvature(), MASK_OT_switch_direction(), and WM_operatortype_append().
Referenced by ED_spacetypes_init().