|
Blender V4.3
|
#include <cstdlib>#include "BLI_listbase.h"#include "BLI_utildefines.h"#include "BKE_context.hh"#include "BKE_mask.h"#include "DNA_mask_types.h"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "DEG_depsgraph.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "WM_api.hh"#include "WM_types.hh"#include "ED_mask.hh"#include "mask_intern.hh"Go to the source code of this file.
Functions | |
| static int | mask_shape_key_insert_exec (bContext *C, wmOperator *) |
| void | MASK_OT_shape_key_insert (wmOperatorType *ot) |
| static int | mask_shape_key_clear_exec (bContext *C, wmOperator *) |
| void | MASK_OT_shape_key_clear (wmOperatorType *ot) |
| static int | mask_shape_key_feather_reset_exec (bContext *C, wmOperator *) |
| void | MASK_OT_shape_key_feather_reset (wmOperatorType *ot) |
| static int | mask_shape_key_rekey_exec (bContext *C, wmOperator *op) |
| void | MASK_OT_shape_key_rekey (wmOperatorType *ot) |
| void | ED_mask_layer_shape_auto_key (MaskLayer *mask_layer, const int frame) |
| bool | ED_mask_layer_shape_auto_key_all (Mask *mask, const int frame) |
| bool | ED_mask_layer_shape_auto_key_select (Mask *mask, const int frame) |
Definition at line 378 of file mask_shapekey.cc.
References BKE_mask_layer_shape_from_mask(), and BKE_mask_layer_shape_verify_frame().
Referenced by ED_mask_layer_shape_auto_key_all(), ED_mask_layer_shape_auto_key_select(), mask_normals_make_consistent_exec(), mask_switch_direction_exec(), slide_point_modal(), and slide_spline_curvature_modal().
Definition at line 386 of file mask_shapekey.cc.
References ED_mask_layer_shape_auto_key(), and LISTBASE_FOREACH.
Definition at line 398 of file mask_shapekey.cc.
References ED_mask_layer_select_check(), ED_mask_layer_shape_auto_key(), and LISTBASE_FOREACH.
Referenced by special_aftertrans_update__mask().
| void MASK_OT_shape_key_clear | ( | wmOperatorType * | ot | ) |
Definition at line 107 of file mask_shapekey.cc.
References wmOperatorType::description, ED_maskedit_mask_visible_splines_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, mask_shape_key_clear_exec(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mask().
| void MASK_OT_shape_key_feather_reset | ( | wmOperatorType * | ot | ) |
Definition at line 189 of file mask_shapekey.cc.
References wmOperatorType::description, ED_maskedit_mask_visible_splines_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, mask_shape_key_feather_reset_exec(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mask().
| void MASK_OT_shape_key_insert | ( | wmOperatorType * | ot | ) |
Definition at line 61 of file mask_shapekey.cc.
References wmOperatorType::description, ED_maskedit_mask_visible_splines_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, mask_shape_key_insert_exec(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mask().
| void MASK_OT_shape_key_rekey | ( | wmOperatorType * | ot | ) |
Definition at line 356 of file mask_shapekey.cc.
References wmOperatorType::description, ED_maskedit_mask_visible_splines_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, mask_shape_key_rekey_exec(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_mask().
|
static |
Definition at line 76 of file mask_shapekey.cc.
References BKE_mask_layer_shape_find_frame(), BKE_mask_layer_shape_unlink(), CTX_data_edit_mask(), CTX_data_scene(), DEG_id_tag_update(), ED_mask_layer_select_check(), ID_RECALC_GEOMETRY, LISTBASE_FOREACH, NC_MASK, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by MASK_OT_shape_key_clear().
|
static |
Definition at line 122 of file mask_shapekey.cc.
References BKE_mask_layer_shape_alloc(), BKE_mask_layer_shape_free(), BKE_mask_layer_shape_from_mask(), CTX_data_edit_mask(), CTX_data_scene(), MaskLayerShape::data, DEG_id_tag_update(), LISTBASE_FOREACH, MASK_HIDE_SELECT, MASK_HIDE_VIEW, MASKPOINT_ISSEL_ANY, NC_MASK, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, MaskLayerShape::tot_vert, MaskLayerShapeElem::value, and WM_event_add_notifier().
Referenced by MASK_OT_shape_key_feather_reset().
|
static |
Definition at line 33 of file mask_shapekey.cc.
References BKE_mask_layer_shape_from_mask(), BKE_mask_layer_shape_verify_frame(), CTX_data_edit_mask(), CTX_data_scene(), DEG_id_tag_update(), ED_mask_layer_select_check(), LISTBASE_FOREACH, NC_MASK, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by MASK_OT_shape_key_insert().
|
static |
Definition at line 212 of file mask_shapekey.cc.
References BKE_mask_layer_evaluate(), BKE_mask_layer_shape_find_frame(), BKE_mask_layer_shape_free(), BKE_mask_layer_shape_from_mask(), BKE_mask_layer_shape_verify_frame(), BLI_addtail(), BLI_remlink(), CTX_data_edit_mask(), CTX_data_scene(), MaskLayerShape::data, DEG_id_tag_update(), ED_mask_layer_select_check(), ListBase::first, MaskLayerShape::flag, MaskLayerShape::frame, LISTBASE_FOREACH, MASK_HIDE_SELECT, MASK_HIDE_VIEW, MASK_SHAPE_SELECT, MASKPOINT_ISSEL_ANY, NC_MASK, ND_DATA, MaskLayerShape::next, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), MaskLayerShapeElem::value, and WM_event_add_notifier().
Referenced by MASK_OT_shape_key_rekey().