Blender V5.3
action_edit.cc File Reference
#include <cfloat>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include "BLI_listbase.hh"
#include "BLI_map.hh"
#include "BLI_math_base_c.hh"
#include "BLI_string.hh"
#include "BLI_utildefines.hh"
#include "BLT_translation.hh"
#include "DEG_depsgraph.hh"
#include "DNA_anim_types.h"
#include "DNA_gpencil_legacy_types.h"
#include "DNA_mask_types.h"
#include "DNA_scene_types.h"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_enum_types.hh"
#include "RNA_prototypes.hh"
#include "BKE_animsys.hh"
#include "BKE_annotations.h"
#include "BKE_context.hh"
#include "BKE_fcurve.hh"
#include "BKE_global.hh"
#include "BKE_grease_pencil.hh"
#include "BKE_nla.hh"
#include "BKE_report.hh"
#include "UI_interface_icons.hh"
#include "UI_view2d.hh"
#include "ANIM_action.hh"
#include "ANIM_animdata.hh"
#include "ANIM_fcurve.hh"
#include "ANIM_keyframing.hh"
#include "ED_anim_api.hh"
#include "ED_gpencil_legacy.hh"
#include "ED_grease_pencil.hh"
#include "ED_keyframes_edit.hh"
#include "ED_keyframing.hh"
#include "ED_markers.hh"
#include "ED_mask.hh"
#include "ED_screen.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "action_intern.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

Pose Markers: Localize Markers
static bool blender::act_markers_make_local_poll (bContext *C)
static wmOperatorStatus blender::act_markers_make_local_exec (bContext *C, wmOperator *)
void blender::ACTION_OT_markers_make_local (wmOperatorType *ot)
Calculate Range
static bool blender::get_keyframe_extents (bAnimContext *ac, float *min, float *max, const short onlySel)
View: Automatic Preview-Range Operator
static wmOperatorStatus blender::actkeys_previewrange_exec (bContext *C, wmOperator *)
void blender::ACTION_OT_previewrange_set (wmOperatorType *ot)
View: All Operator
static bool blender::actkeys_channels_get_selected_extents (bAnimContext *ac, float *r_min, float *r_max)
static wmOperatorStatus blender::actkeys_viewall (bContext *C, const bool only_sel)
static wmOperatorStatus blender::actkeys_viewall_exec (bContext *C, wmOperator *)
static wmOperatorStatus blender::actkeys_viewsel_exec (bContext *C, wmOperator *)
void blender::ACTION_OT_view_all (wmOperatorType *ot)
void blender::ACTION_OT_view_selected (wmOperatorType *ot)
View: Frame Operator
static wmOperatorStatus blender::actkeys_view_frame_exec (bContext *C, wmOperator *op)
void blender::ACTION_OT_view_frame (wmOperatorType *ot)
Keyframes: Copy/Paste Operator
static bool blender::copy_action_keys (bAnimContext *ac)
static eKeyPasteError blender::paste_action_keys (bAnimContext *ac, const eKeyPasteOffset offset_mode, const eKeyMergeMode merge_mode, bool flip)
static ed::greasepencil::KeyframeClipboard & blender::get_grease_pencil_keyframe_clipboard ()
static wmOperatorStatus blender::actkeys_copy_exec (bContext *C, wmOperator *op)
void blender::ACTION_OT_copy (wmOperatorType *ot)
static wmOperatorStatus blender::actkeys_paste_exec (bContext *C, wmOperator *op)
static std::string blender::actkeys_paste_get_description (bContext *, wmOperatorType *, PointerRNA *ptr)
void blender::ACTION_OT_paste (wmOperatorType *ot)
Keyframes: Duplicate Operator
static bool blender::duplicate_action_keys (bAnimContext *ac)
static wmOperatorStatus blender::actkeys_duplicate_exec (bContext *C, wmOperator *)
void blender::ACTION_OT_duplicate (wmOperatorType *ot)
Keyframes: Delete Operator
static bool blender::delete_action_keys (bAnimContext *ac)
static wmOperatorStatus blender::actkeys_delete_exec (bContext *C, wmOperator *)
static wmOperatorStatus blender::actkeys_delete_invoke (bContext *C, wmOperator *op, const wmEvent *)
void blender::ACTION_OT_delete (wmOperatorType *ot)
Keyframes: Clean Operator
static void blender::clean_action_keys (bAnimContext *ac, float thresh, bool clean_chan)
static wmOperatorStatus blender::actkeys_clean_exec (bContext *C, wmOperator *op)
static std::string blender::actkeys_clean_get_description (bContext *, wmOperatorType *, PointerRNA *ptr)
void blender::ACTION_OT_clean (wmOperatorType *ot)
Keyframes: Sample Operator
static void blender::bake_action_keys (bAnimContext *ac)
static wmOperatorStatus blender::actkeys_bake_exec (bContext *C, wmOperator *op)
void blender::ACTION_OT_bake_keys (wmOperatorType *ot)
Settings: Set Interpolation-Type Operator
static wmOperatorStatus blender::actkeys_ipo_exec (bContext *C, wmOperator *op)
void blender::ACTION_OT_interpolation_type (wmOperatorType *ot)
Settings: Set Easing Operator
static wmOperatorStatus blender::actkeys_easing_exec (bContext *C, wmOperator *op)
void blender::ACTION_OT_easing_type (wmOperatorType *ot)
Settings: Set Handle-Type Operator
static void blender::sethandles_action_keys (bAnimContext *ac, short mode)
static wmOperatorStatus blender::actkeys_handletype_exec (bContext *C, wmOperator *op)
void blender::ACTION_OT_handle_type (wmOperatorType *ot)
Settings: Set Keyframe-Type Operator
static void blender::setkeytype_action_keys (bAnimContext *ac, eBezTriple_KeyframeType mode)
static wmOperatorStatus blender::actkeys_keytype_exec (bContext *C, wmOperator *op)
void blender::ACTION_OT_keyframe_type (wmOperatorType *ot)
Transform: Jump to Selected Frames Operator
static bool blender::actkeys_framejump_poll (bContext *C)
static wmOperatorStatus blender::actkeys_framejump_exec (bContext *C, wmOperator *)
void blender::ACTION_OT_frame_jump (wmOperatorType *ot)

Settings: Set Extrapolation-Type Operator

#define MAKE_CYCLIC_EXPO   -1
#define CLEAR_CYCLIC_EXPO   -2
static const EnumPropertyItem blender::prop_actkeys_expo_types []
static void blender::setexpo_action_keys (bAnimContext *ac, short mode)
static wmOperatorStatus blender::actkeys_expo_exec (bContext *C, wmOperator *op)
void blender::ACTION_OT_extrapolation_type (wmOperatorType *ot)

Keyframes: Insert Operator

static const EnumPropertyItem blender::prop_actkeys_insertkey_types []
static void blender::insert_gpencil_key (bAnimContext *ac, bAnimListElem *ale, const eGP_GetFrame_Mode add_frame_mode, bGPdata **gpd_old)
static void blender::insert_grease_pencil_key (bAnimContext *ac, bAnimListElem *ale, const bool hold_previous)
static void blender::insert_fcurve_key (bAnimContext *ac, bAnimListElem *ale, const AnimationEvalContext anim_eval_context, eInsertKeyFlags flag)
static void blender::insert_nla_curve_key (bAnimListElem &ale, const AnimationEvalContext &anim_eval_context, const eInsertKeyFlags flag)
static void blender::insert_action_keys (bAnimContext *ac, short mode)
static wmOperatorStatus blender::actkeys_insertkey_exec (bContext *C, wmOperator *op)
void blender::ACTION_OT_keyframe_insert (wmOperatorType *ot)

Transform: Snap Keyframes Operator

static const EnumPropertyItem blender::prop_actkeys_snap_types []
static void blender::snap_action_keys (bAnimContext *ac, short mode)
static wmOperatorStatus blender::actkeys_snap_exec (bContext *C, wmOperator *op)
void blender::ACTION_OT_snap (wmOperatorType *ot)

Transform: Mirror Keyframes Operator

static const EnumPropertyItem blender::prop_actkeys_mirror_types []
static void blender::mirror_action_keys (bAnimContext *ac, short mode)
static wmOperatorStatus blender::actkeys_mirror_exec (bContext *C, wmOperator *op)
void blender::ACTION_OT_mirror (wmOperatorType *ot)

Macro Definition Documentation

◆ CLEAR_CYCLIC_EXPO

#define CLEAR_CYCLIC_EXPO   -2

Definition at line 1439 of file action_edit.cc.

Referenced by blender::setexpo_action_keys(), and blender::setexpo_graph_keys().

◆ MAKE_CYCLIC_EXPO

#define MAKE_CYCLIC_EXPO   -1

Definition at line 1438 of file action_edit.cc.

Referenced by blender::setexpo_action_keys(), and blender::setexpo_graph_keys().