|
Blender V4.3
|
#include "BLI_listbase.h"#include "BLI_math_vector.h"#include "BLI_string.h"#include "BKE_context.hh"#include "BKE_mask.h"#include "BKE_tracking.h"#include "DEG_depsgraph.hh"#include "DNA_mask_types.h"#include "WM_api.hh"#include "WM_types.hh"#include "ED_clip.hh"#include "ED_mask.hh"#include "ED_screen.hh"#include "mask_intern.hh"Go to the source code of this file.
Functions | |
| static int | mask_parent_clear_exec (bContext *C, wmOperator *) |
| void | MASK_OT_parent_clear (wmOperatorType *ot) |
| static int | mask_parent_set_exec (bContext *C, wmOperator *) |
| void | MASK_OT_parent_set (wmOperatorType *ot) |
| void MASK_OT_parent_clear | ( | wmOperatorType * | ot | ) |
Definition at line 56 of file mask_relationships.cc.
References wmOperatorType::description, ED_maskedit_mask_visible_splines_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, mask_parent_clear_exec(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mask().
| void MASK_OT_parent_set | ( | wmOperatorType * | ot | ) |
based on #OBJECT_OT_parent_set
Definition at line 155 of file mask_relationships.cc.
References wmOperatorType::description, ED_space_clip_maskedit_mask_poll(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, mask_parent_set_exec(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_mask().
|
static |
Definition at line 30 of file mask_relationships.cc.
References CTX_data_edit_mask(), DEG_id_tag_update(), MaskParent::id, LISTBASE_FOREACH, MASK_HIDE_SELECT, MASK_HIDE_VIEW, MASKPOINT_ISSEL_ANY, NC_MASK, ND_DATA, OPERATOR_FINISHED, MaskSplinePoint::parent, and WM_event_add_notifier().
Referenced by MASK_OT_parent_clear().
|
static |
Definition at line 72 of file mask_relationships.cc.
References MovieTrackingObject::active_plane_track, MovieTrackingObject::active_track, add_v2_v2v2(), BKE_mask_coord_from_movieclip(), BKE_tracking_marker_get(), BKE_tracking_object_get_active(), BKE_tracking_plane_marker_get(), copy_v2_v2(), MovieTrackingPlaneMarker::corners, CTX_data_edit_mask(), CTX_wm_space_clip(), DEG_id_tag_update(), ED_space_clip_get_clip(), ED_space_clip_get_clip_frame_number(), ELEM, ID_MC, MaskParent::id_type, LISTBASE_FOREACH, MASK_HIDE_SELECT, MASK_HIDE_VIEW, MASK_PARENT_PLANE_TRACK, MASK_PARENT_POINT_TRACK, MASKPOINT_ISSEL_ANY, MovieTrackingObject::name, MovieTrackingPlaneTrack::name, MovieTrackingTrack::name, NC_MASK, ND_DATA, MovieTrackingTrack::offset, OPERATOR_CANCELLED, OPERATOR_FINISHED, MaskSplinePoint::parent, MovieTrackingMarker::pos, STRNCPY, SpaceClip::user, WM_event_add_notifier(), and zero_v2().
Referenced by MASK_OT_parent_set().