Blender
V3.3
|
#include "BLI_listbase.h"
#include "BLI_math.h"
#include "BLI_string.h"
#include "BKE_context.h"
#include "BKE_mask.h"
#include "BKE_tracking.h"
#include "DEG_depsgraph.h"
#include "DNA_mask_types.h"
#include "WM_api.h"
#include "WM_types.h"
#include "ED_clip.h"
#include "ED_mask.h"
#include "ED_screen.h"
#include "mask_intern.h"
Go to the source code of this file.
Functions | |
static int | mask_parent_clear_exec (bContext *C, wmOperator *UNUSED(op)) |
void | MASK_OT_parent_clear (wmOperatorType *ot) |
static int | mask_parent_set_exec (bContext *C, wmOperator *UNUSED(op)) |
void | MASK_OT_parent_set (wmOperatorType *ot) |
void MASK_OT_parent_clear | ( | wmOperatorType * | ot | ) |
Definition at line 55 of file mask_relationships.c.
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 | ( | struct wmOperatorType * | ot | ) |
based on OBJECT_OT_parent_set
Definition at line 156 of file mask_relationships.c.
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 29 of file mask_relationships.c.
References C, CTX_data_edit_mask(), DEG_id_tag_update(), LISTBASE_FOREACH, mask(), MASK_HIDE_SELECT, MASK_HIDE_VIEW, MASKPOINT_ISSEL_ANY, NC_MASK, ND_DATA, NULL, OPERATOR_FINISHED, point, and WM_event_add_notifier().
Referenced by MASK_OT_parent_clear().
|
static |
Definition at line 71 of file mask_relationships.c.
References add_v2_v2v2(), BKE_mask_coord_from_movieclip(), BKE_tracking_marker_get(), BKE_tracking_object_get_active(), BKE_tracking_plane_marker_get(), BKE_tracking_plane_track_get_active(), BKE_tracking_track_get_active(), BLI_strncpy(), C, 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, MovieClip::id, ID_MC, LISTBASE_FOREACH, mask(), MASK_HIDE_SELECT, MASK_HIDE_VIEW, MASK_PARENT_PLANE_TRACK, MASK_PARENT_POINT_TRACK, MASKPOINT_ISSEL_ANY, MovieTrackingTrack::name, MovieTrackingPlaneTrack::name, MovieTrackingObject::name, NC_MASK, ND_DATA, NULL, MovieTrackingTrack::offset, OPERATOR_CANCELLED, OPERATOR_FINISHED, point, MovieTrackingMarker::pos, MovieClip::tracking, SpaceClip::user, WM_event_add_notifier(), and zero_v2().
Referenced by MASK_OT_parent_set().