Blender
V3.3
|
#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) |
Definition at line 371 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().
Definition at line 379 of file mask_shapekey.c.
References ED_mask_layer_shape_auto_key(), LISTBASE_FOREACH, and mask().
Definition at line 391 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 107 of file mask_shapekey.c.
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 191 of file mask_shapekey.c.
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.c.
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 349 of file mask_shapekey.c.
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.c.
References BKE_mask_layer_shape_find_frame(), BKE_mask_layer_shape_unlink(), C, RenderData::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::r, scene, and WM_event_add_notifier().
Referenced by MASK_OT_shape_key_clear().
|
static |
Definition at line 122 of file mask_shapekey.c.
References BKE_mask_layer_shape_alloc(), BKE_mask_layer_shape_free(), BKE_mask_layer_shape_from_mask(), C, RenderData::cfra, CTX_data_edit_mask(), CTX_data_scene(), MaskLayerShape::data, DEG_id_tag_update(), LISTBASE_FOREACH, mask(), MASK_HIDE_SELECT, MASK_HIDE_VIEW, MASKPOINT_ISSEL_ANY, NC_MASK, ND_DATA, MaskLayerShape::next, OPERATOR_CANCELLED, OPERATOR_FINISHED, point, Scene::r, scene, 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.c.
References BKE_mask_layer_shape_from_mask(), BKE_mask_layer_shape_verify_frame(), C, RenderData::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::r, scene, and WM_event_add_notifier().
Referenced by MASK_OT_shape_key_insert().
|
static |
Definition at line 214 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, RenderData::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_HIDE_SELECT, MASK_HIDE_VIEW, MASK_SHAPE_SELECT, MASKPOINT_ISSEL_ANY, NC_MASK, ND_DATA, MaskLayerShape::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, point, wmOperator::ptr, Scene::r, RNA_boolean_get(), scene, SWAP, MaskLayerShapeElem::value, and WM_event_add_notifier().
Referenced by MASK_OT_shape_key_rekey().