|
Blender
V2.93
|
#include <stdlib.h>#include "BLI_listbase.h"#include "BLI_math.h"#include "BLI_utildefines.h"#include "BKE_context.h"#include "BKE_mask.h"#include "DNA_mask_types.h"#include "DNA_object_types.h"#include "DNA_scene_types.h"#include "DEG_depsgraph.h"#include "RNA_access.h"#include "RNA_define.h"#include "WM_api.h"#include "WM_types.h"#include "ED_mask.h"#include "mask_intern.h"Go to the source code of this file.
Functions | |
| static int | mask_shape_key_insert_exec (bContext *C, wmOperator *UNUSED(op)) |
| void | MASK_OT_shape_key_insert (wmOperatorType *ot) |
| static int | mask_shape_key_clear_exec (bContext *C, wmOperator *UNUSED(op)) |
| void | MASK_OT_shape_key_clear (wmOperatorType *ot) |
| static int | mask_shape_key_feather_reset_exec (bContext *C, wmOperator *UNUSED(op)) |
| 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) |
| void ED_mask_layer_shape_auto_key | ( | MaskLayer * | mask_layer, |
| const int | frame | ||
| ) |
Definition at line 387 of file mask_shapekey.c.
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().
| bool ED_mask_layer_shape_auto_key_all | ( | Mask * | mask, |
| const int | frame | ||
| ) |
Definition at line 395 of file mask_shapekey.c.
References ED_mask_layer_shape_auto_key(), LISTBASE_FOREACH, and mask().
| bool ED_mask_layer_shape_auto_key_select | ( | Mask * | mask, |
| const int | frame | ||
| ) |
Definition at line 407 of file mask_shapekey.c.
References ED_mask_layer_select_check(), ED_mask_layer_shape_auto_key(), LISTBASE_FOREACH, and mask().
Referenced by special_aftertrans_update__mask().
| void MASK_OT_shape_key_clear | ( | wmOperatorType * | ot | ) |
Definition at line 123 of file mask_shapekey.c.
References wmOperatorType::description, ED_maskedit_mask_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 207 of file mask_shapekey.c.
References wmOperatorType::description, ED_maskedit_mask_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 77 of file mask_shapekey.c.
References wmOperatorType::description, ED_maskedit_mask_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 365 of file mask_shapekey.c.
References wmOperatorType::description, ED_maskedit_mask_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 92 of file mask_shapekey.c.
References BKE_mask_layer_shape_find_frame(), BKE_mask_layer_shape_unlink(), C, CFRA, CTX_data_edit_mask(), CTX_data_scene(), DEG_id_tag_update(), ED_mask_layer_select_check(), ID_RECALC_GEOMETRY, LISTBASE_FOREACH, mask(), NC_MASK, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, scene, and WM_event_add_notifier().
Referenced by MASK_OT_shape_key_clear().
|
static |
Definition at line 138 of file mask_shapekey.c.
References BKE_mask_layer_shape_alloc(), BKE_mask_layer_shape_free(), BKE_mask_layer_shape_from_mask(), C, CFRA, CTX_data_edit_mask(), CTX_data_scene(), MaskLayerShape::data, DEG_id_tag_update(), LISTBASE_FOREACH, mask(), MASK_RESTRICT_SELECT, MASK_RESTRICT_VIEW, MASKPOINT_ISSEL_ANY, NC_MASK, ND_DATA, MaskLayerShape::next, OPERATOR_CANCELLED, OPERATOR_FINISHED, scene, MaskLayerShape::tot_vert, MaskLayerShapeElem::value, and WM_event_add_notifier().
Referenced by MASK_OT_shape_key_feather_reset().
|
static |
Definition at line 49 of file mask_shapekey.c.
References BKE_mask_layer_shape_from_mask(), BKE_mask_layer_shape_verify_frame(), C, CFRA, CTX_data_edit_mask(), CTX_data_scene(), DEG_id_tag_update(), ED_mask_layer_select_check(), LISTBASE_FOREACH, mask(), NC_MASK, ND_DATA, OPERATOR_CANCELLED, OPERATOR_FINISHED, scene, and WM_event_add_notifier().
Referenced by MASK_OT_shape_key_insert().
|
static |
Definition at line 230 of file mask_shapekey.c.
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(), C, CFRA, 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(), MASK_RESTRICT_SELECT, MASK_RESTRICT_VIEW, MASK_SHAPE_SELECT, MASKPOINT_ISSEL_ANY, NC_MASK, ND_DATA, MaskLayerShape::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), scene, SWAP, MaskLayerShapeElem::value, and WM_event_add_notifier().
Referenced by MASK_OT_shape_key_rekey().