Blender  V3.3
Functions
action_data.c File Reference
#include <float.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "BLI_utildefines.h"
#include "BLT_translation.h"
#include "DNA_anim_types.h"
#include "DNA_gpencil_types.h"
#include "DNA_key_types.h"
#include "DNA_mask_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "RNA_prototypes.h"
#include "BKE_action.h"
#include "BKE_context.h"
#include "BKE_fcurve.h"
#include "BKE_key.h"
#include "BKE_lib_id.h"
#include "BKE_nla.h"
#include "BKE_report.h"
#include "BKE_scene.h"
#include "UI_view2d.h"
#include "ED_anim_api.h"
#include "ED_gpencil.h"
#include "ED_keyframes_edit.h"
#include "ED_keyframing.h"
#include "ED_markers.h"
#include "ED_mask.h"
#include "ED_screen.h"
#include "DEG_depsgraph.h"
#include "WM_api.h"
#include "WM_types.h"
#include "UI_interface.h"
#include "action_intern.h"

Go to the source code of this file.

Functions

AnimDataED_actedit_animdata_from_context (const bContext *C, ID **r_adt_id_owner)
 
static bActionaction_create_new (bContext *C, bAction *oldact)
 
static void actedit_change_action (bContext *C, bAction *act)
 
static bool action_new_poll (bContext *C)
 
static int action_new_exec (bContext *C, wmOperator *UNUSED(op))
 
void ACTION_OT_new (wmOperatorType *ot)
 
static bool action_pushdown_poll (bContext *C)
 
static int action_pushdown_exec (bContext *C, wmOperator *op)
 
void ACTION_OT_push_down (wmOperatorType *ot)
 
static int action_stash_exec (bContext *C, wmOperator *op)
 
void ACTION_OT_stash (wmOperatorType *ot)
 
static bool action_stash_create_poll (bContext *C)
 
static int action_stash_create_exec (bContext *C, wmOperator *op)
 
void ACTION_OT_stash_and_create (wmOperatorType *ot)
 
void ED_animedit_unlink_action (bContext *C, ID *id, AnimData *adt, bAction *act, ReportList *reports, bool force_delete)
 
static bool action_unlink_poll (bContext *C)
 
static int action_unlink_exec (bContext *C, wmOperator *op)
 
static int action_unlink_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
void ACTION_OT_unlink (wmOperatorType *ot)
 
static NlaStripaction_layer_get_nlastrip (ListBase *strips, float ctime)
 
static void action_layer_switch_strip (AnimData *adt, NlaTrack *old_track, NlaStrip *old_strip, NlaTrack *nlt, NlaStrip *strip)
 
static bool action_layer_next_poll (bContext *C)
 
static int action_layer_next_exec (bContext *C, wmOperator *op)
 
void ACTION_OT_layer_next (wmOperatorType *ot)
 
static bool action_layer_prev_poll (bContext *C)
 
static int action_layer_prev_exec (bContext *C, wmOperator *op)
 
void ACTION_OT_layer_prev (wmOperatorType *ot)
 

Function Documentation

◆ actedit_change_action()

static void actedit_change_action ( bContext C,
bAction act 
)
static

◆ action_create_new()

static bAction* action_create_new ( bContext C,
bAction oldact 
)
static

◆ action_layer_get_nlastrip()

static NlaStrip* action_layer_get_nlastrip ( ListBase strips,
float  ctime 
)
static

◆ action_layer_next_exec()

static int action_layer_next_exec ( bContext C,
wmOperator op 
)
static

◆ action_layer_next_poll()

static bool action_layer_next_poll ( bContext C)
static

◆ action_layer_prev_exec()

static int action_layer_prev_exec ( bContext C,
wmOperator op 
)
static

◆ action_layer_prev_poll()

static bool action_layer_prev_poll ( bContext C)
static

◆ action_layer_switch_strip()

static void action_layer_switch_strip ( AnimData adt,
NlaTrack old_track,
NlaStrip old_strip,
NlaTrack nlt,
NlaStrip strip 
)
static

◆ action_new_exec()

static int action_new_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ action_new_poll()

static bool action_new_poll ( bContext C)
static

◆ ACTION_OT_layer_next()

void ACTION_OT_layer_next ( wmOperatorType ot)

◆ ACTION_OT_layer_prev()

void ACTION_OT_layer_prev ( wmOperatorType ot)

◆ ACTION_OT_new()

void ACTION_OT_new ( wmOperatorType ot)

◆ ACTION_OT_push_down()

void ACTION_OT_push_down ( wmOperatorType ot)

◆ ACTION_OT_stash()

void ACTION_OT_stash ( wmOperatorType ot)

◆ ACTION_OT_stash_and_create()

void ACTION_OT_stash_and_create ( wmOperatorType ot)

◆ ACTION_OT_unlink()

void ACTION_OT_unlink ( wmOperatorType ot)

◆ action_pushdown_exec()

static int action_pushdown_exec ( bContext C,
wmOperator op 
)
static

◆ action_pushdown_poll()

static bool action_pushdown_poll ( bContext C)
static

◆ action_stash_create_exec()

static int action_stash_create_exec ( bContext C,
wmOperator op 
)
static

◆ action_stash_create_poll()

static bool action_stash_create_poll ( bContext C)
static

◆ action_stash_exec()

static int action_stash_exec ( bContext C,
wmOperator op 
)
static

◆ action_unlink_exec()

static int action_unlink_exec ( bContext C,
wmOperator op 
)
static

◆ action_unlink_invoke()

static int action_unlink_invoke ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ action_unlink_poll()

static bool action_unlink_poll ( bContext C)
static

◆ ED_actedit_animdata_from_context()

AnimData* ED_actedit_animdata_from_context ( const bContext C,
ID **  r_adt_id_owner 
)

◆ ED_animedit_unlink_action()

void ED_animedit_unlink_action ( bContext C,
ID id,
AnimData adt,
bAction act,
ReportList reports,
bool  force_delete 
)