Blender V5.3
action_intern.hh File Reference
#include "DNA_listBase.h"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Enumerations

enum  blender::eActKeys_LeftRightSelect_Mode { blender::ACTKEYS_LRSEL_TEST = 0 , blender::ACTKEYS_LRSEL_LEFT , blender::ACTKEYS_LRSEL_RIGHT }
enum  blender::eActKeys_ColumnSelect_Mode { blender::ACTKEYS_COLUMNSEL_KEYS = 0 , blender::ACTKEYS_COLUMNSEL_CFRA , blender::ACTKEYS_COLUMNSEL_MARKERS_COLUMN , blender::ACTKEYS_COLUMNSEL_MARKERS_BETWEEN }
enum  blender::eActKeys_Snap_Mode { blender::ACTKEYS_SNAP_CFRA = 1 , blender::ACTKEYS_SNAP_NEAREST_FRAME , blender::ACTKEYS_SNAP_NEAREST_SECOND , blender::ACTKEYS_SNAP_NEAREST_MARKER }
enum  blender::eActKeys_Mirror_Mode { blender::ACTKEYS_MIRROR_CFRA = 1 , blender::ACTKEYS_MIRROR_YAXIS , blender::ACTKEYS_MIRROR_XAXIS , blender::ACTKEYS_MIRROR_MARKER }

Functions

void blender::action_buttons_register (ARegionType *)
void blender::ACTION_OT_layer_next (wmOperatorType *ot)
void blender::ACTION_OT_layer_prev (wmOperatorType *ot)
void blender::action_operatortypes ()
void blender::action_keymap (wmKeyConfig *keyconf)
Channel List
void blender::draw_channel_names (bContext *C, bAnimContext *ac, ARegion *region, const ListBaseT< bAnimListElem > &anim_data)
Keyframes
void blender::draw_channel_strips (bAnimContext *ac, SpaceAction *saction, ARegion *region, ListBaseT< bAnimListElem > *anim_data)
Timeline - Caches
void blender::timeline_draw_cache (const SpaceAction *saction, const Object *ob, const Scene *scene)
Deselect All Operator

This operator works in one of three ways: 1) (de)select all (AKEY) - test if select all or deselect all 2) invert all (CTRL-IKEY) - invert selection of all keyframes 3) (de)select all - no testing is done; only for use internal tools as normal function...

void blender::ACTION_OT_select_all (wmOperatorType *ot)
Box Select Operator
void blender::ACTION_OT_select_box (wmOperatorType *ot)
Region Select Operators

"Region Select" operators include the Lasso and Circle Select operators. These two ended up being lumped together, as it was easier in the original Graph Editor implementation of these to do it this way.

void blender::ACTION_OT_select_lasso (wmOperatorType *ot)
void blender::ACTION_OT_select_circle (wmOperatorType *ot)
Column Select Operator

This operator works in one of four ways:

  • 1) select all keyframes in the same frame as a selected one (KKEY)
  • 2) select all keyframes in the same frame as the current frame marker (CTRL-KKEY)
  • 3) select all keyframes in the same frame as a selected markers (SHIFT-KKEY)
  • 4) select all keyframes that occur between selected markers (ALT-KKEY)
void blender::ACTION_OT_select_column (wmOperatorType *ot)
Select Linked Operator
void blender::ACTION_OT_select_linked (wmOperatorType *ot)
Select More/Less Operators
void blender::ACTION_OT_select_more (wmOperatorType *ot)
void blender::ACTION_OT_select_less (wmOperatorType *ot)
Select Left/Right Operator

Select keyframes left/right of the current frame indicator.

void blender::ACTION_OT_select_leftright (wmOperatorType *ot)
Mouse-Click Select Operator

This operator works in one of three ways:

  • 1) keyframe under mouse - no special modifiers
  • 2) all keyframes on the same side of current frame indicator as mouse - ALT modifier
  • 3) column select all keyframes in frame under mouse - CTRL modifier

In addition to these basic options, the SHIFT modifier can be used to toggle the selection mode between replacing the selection (without) and inverting the selection (with).

void blender::ACTION_OT_clickselect (wmOperatorType *ot)
Select by Keyframe Type operator
void blender::ACTION_OT_select_by_type (wmOperatorType *ot)
View: Automatic Preview-Range Operator
void blender::ACTION_OT_previewrange_set (wmOperatorType *ot)
View: All Operator
void blender::ACTION_OT_view_all (wmOperatorType *ot)
void blender::ACTION_OT_view_selected (wmOperatorType *ot)
View: Frame Operator
void blender::ACTION_OT_view_frame (wmOperatorType *ot)
Keyframes: Copy/Paste Operator
void blender::ACTION_OT_copy (wmOperatorType *ot)
void blender::ACTION_OT_paste (wmOperatorType *ot)
Keyframes: Insert Operator
void blender::ACTION_OT_keyframe_insert (wmOperatorType *ot)
Keyframes: Duplicate Operator
void blender::ACTION_OT_duplicate (wmOperatorType *ot)
Keyframes: Delete Operator
void blender::ACTION_OT_delete (wmOperatorType *ot)
Keyframes: Clean Operator
void blender::ACTION_OT_clean (wmOperatorType *ot)
Keyframes: Sample Operator
void blender::ACTION_OT_bake_keys (wmOperatorType *ot)
Settings: Set Keyframe-Type Operator
void blender::ACTION_OT_keyframe_type (wmOperatorType *ot)
Settings: Set Handle-Type Operator
void blender::ACTION_OT_handle_type (wmOperatorType *ot)
Settings: Set Interpolation-Type Operator
void blender::ACTION_OT_interpolation_type (wmOperatorType *ot)
Settings: Set Extrapolation-Type Operator
void blender::ACTION_OT_extrapolation_type (wmOperatorType *ot)
Settings: Set Easing Operator
void blender::ACTION_OT_easing_type (wmOperatorType *ot)
Transform: Jump to Selected Frames Operator
void blender::ACTION_OT_frame_jump (wmOperatorType *ot)
Transform: Snap Keyframes Operator
void blender::ACTION_OT_snap (wmOperatorType *ot)
Transform: Mirror Keyframes Operator
void blender::ACTION_OT_mirror (wmOperatorType *ot)
New Action Operator

Criteria: 1) There must be an dope-sheet/action editor, and it must be in a mode which uses actions... OR The NLA Editor is active (i.e. Animation Data panel -> new action) 2) The associated AnimData block must not be in tweak-mode.

void blender::ACTION_OT_new (wmOperatorType *ot)
Action Unlink Operator

We use a custom unlink operator here, as there are some technicalities which need special care: 1) When in Tweak Mode, it shouldn't be possible to unlink the active action, or else, everything turns to custard. 2) If the Action doesn't have any other users, the user should at least get a warning that it is going to get lost. 3) We need a convenient way to exit Tweak Mode from the Action Editor

void blender::ACTION_OT_unlink (wmOperatorType *ot)
Action Push-Down Operator

Criteria: 1) There must be an dope-sheet/action editor, and it must be in a mode which uses actions. 2) There must be an action active. 3) The associated AnimData block must not be in tweak-mode.

void blender::ACTION_OT_push_down (wmOperatorType *ot)
Action Stash Operator
void blender::ACTION_OT_stash (wmOperatorType *ot)
Action Stash & Create Operator

Criteria: 1) There must be an dope-sheet/action editor, and it must be in a mode which uses actions. 2) The associated AnimData block must not be in tweak-mode.

void blender::ACTION_OT_stash_and_create (wmOperatorType *ot)
Pose Markers: Localize Markers
void blender::ACTION_OT_markers_make_local (wmOperatorType *ot)