Blender  V2.93
Classes | Typedefs | Enumerations | Functions | Variables
anim_channels_edit.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_listbase.h"
#include "BLI_utildefines.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 "BKE_action.h"
#include "BKE_anim_data.h"
#include "BKE_context.h"
#include "BKE_fcurve.h"
#include "BKE_global.h"
#include "BKE_gpencil.h"
#include "BKE_lib_id.h"
#include "BKE_mask.h"
#include "BKE_nla.h"
#include "BKE_scene.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_build.h"
#include "UI_interface.h"
#include "UI_view2d.h"
#include "ED_anim_api.h"
#include "ED_armature.h"
#include "ED_keyframes_edit.h"
#include "ED_object.h"
#include "ED_screen.h"
#include "ED_select_utils.h"
#include "WM_api.h"
#include "WM_types.h"

Go to the source code of this file.

Classes

struct  tReorderChannelIsland
 

Typedefs

typedef enum eRearrangeAnimChan_Mode eRearrangeAnimChan_Mode
 
typedef struct tReorderChannelIsland tReorderChannelIsland
 
typedef enum eReorderIslandFlag eReorderIslandFlag
 
typedef bool(* AnimChanRearrangeFp) (ListBase *list, tReorderChannelIsland *island)
 

Enumerations

enum  eRearrangeAnimChan_Mode { REARRANGE_ANIMCHAN_TOP = -2 , REARRANGE_ANIMCHAN_UP = -1 , REARRANGE_ANIMCHAN_DOWN = 1 , REARRANGE_ANIMCHAN_BOTTOM = 2 }
 
enum  eReorderIslandFlag { REORDER_ISLAND_SELECTED = (1 << 0) , REORDER_ISLAND_UNTOUCHABLE = (1 << 1) , REORDER_ISLAND_MOVED = (1 << 2) , REORDER_ISLAND_HIDDEN = (1 << 3) }
 

Functions

void ANIM_set_active_channel (bAnimContext *ac, void *data, eAnimCont_Types datatype, eAnimFilter_Flags filter, void *channel_data, eAnim_ChannelType channel_type)
 
static void select_pchan_for_action_group (bAnimContext *ac, bActionGroup *agrp, bAnimListElem *ale)
 
static ListBase anim_channels_for_selection (bAnimContext *ac)
 
static eAnimChannels_SetFlag anim_channels_selection_flag_for_toggle (const ListBase anim_data)
 
static void anim_channels_select_set (bAnimContext *ac, const ListBase anim_data, eAnimChannels_SetFlag sel)
 
void ANIM_anim_channels_select_set (bAnimContext *ac, eAnimChannels_SetFlag sel)
 
void ANIM_anim_channels_select_toggle (bAnimContext *ac)
 
static void anim_flush_channel_setting_up (bAnimContext *ac, const eAnimChannel_Settings setting, const eAnimChannels_SetFlag mode, bAnimListElem *const match, const int matchLevel)
 
static void anim_flush_channel_setting_down (bAnimContext *ac, const eAnimChannel_Settings setting, const eAnimChannels_SetFlag mode, bAnimListElem *const match, const int matchLevel)
 
void ANIM_flush_setting_anim_channels (bAnimContext *ac, ListBase *anim_data, bAnimListElem *ale_setting, eAnimChannel_Settings setting, eAnimChannels_SetFlag mode)
 
void ANIM_fcurve_delete_from_animdata (bAnimContext *ac, AnimData *adt, FCurve *fcu)
 
bool ANIM_remove_empty_action_from_animdata (struct AnimData *adt)
 
static bool animedit_poll_channels_active (bContext *C)
 
static bool animedit_poll_channels_nla_tweakmode_off (bContext *C)
 
static bool rearrange_island_ok (tReorderChannelIsland *island)
 
static bool rearrange_island_top (ListBase *list, tReorderChannelIsland *island)
 
static bool rearrange_island_up (ListBase *list, tReorderChannelIsland *island)
 
static bool rearrange_island_down (ListBase *list, tReorderChannelIsland *island)
 
static bool rearrange_island_bottom (ListBase *list, tReorderChannelIsland *island)
 
static AnimChanRearrangeFp rearrange_get_mode_func (eRearrangeAnimChan_Mode mode)
 
static AnimChanRearrangeFp rearrange_gpencil_get_mode_func (eRearrangeAnimChan_Mode mode)
 
static void rearrange_animchannel_add_to_islands (ListBase *islands, ListBase *srcList, Link *channel, eAnim_ChannelType type, const bool is_hidden)
 
static void rearrange_animchannel_flatten_islands (ListBase *islands, ListBase *srcList)
 
static void rearrange_animchannels_filter_visible (ListBase *anim_data_visible, bAnimContext *ac, eAnim_ChannelType type)
 
static bool rearrange_animchannel_islands (ListBase *list, AnimChanRearrangeFp rearrange_func, eRearrangeAnimChan_Mode mode, eAnim_ChannelType type, ListBase *anim_data_visible)
 
static void rearrange_nla_channels (bAnimContext *ac, AnimData *adt, eRearrangeAnimChan_Mode mode)
 
static void rearrange_driver_channels (bAnimContext *ac, AnimData *adt, eRearrangeAnimChan_Mode mode)
 
static void split_groups_action_temp (bAction *act, bActionGroup *tgrp)
 
static void join_groups_action_temp (bAction *act)
 
static void rearrange_action_channels (bAnimContext *ac, bAction *act, eRearrangeAnimChan_Mode mode)
 
static void rearrange_nla_control_channels (bAnimContext *ac, AnimData *adt, eRearrangeAnimChan_Mode mode)
 
static void rearrange_gpencil_channels (bAnimContext *ac, eRearrangeAnimChan_Mode mode)
 
static int animchannels_rearrange_exec (bContext *C, wmOperator *op)
 
static void ANIM_OT_channels_move (wmOperatorType *ot)
 
static bool animchannels_grouping_poll (bContext *C)
 
static void animchannels_group_channels (bAnimContext *ac, bAnimListElem *adt_ref, const char name[])
 
static int animchannels_group_exec (bContext *C, wmOperator *op)
 
static void ANIM_OT_channels_group (wmOperatorType *ot)
 
static int animchannels_ungroup_exec (bContext *C, wmOperator *UNUSED(op))
 
static void ANIM_OT_channels_ungroup (wmOperatorType *ot)
 
static void tag_update_animation_element (bAnimListElem *ale)
 
static int animchannels_delete_exec (bContext *C, wmOperator *UNUSED(op))
 
static void ANIM_OT_channels_delete (wmOperatorType *ot)
 
static void setflag_anim_channels (bAnimContext *ac, eAnimChannel_Settings setting, eAnimChannels_SetFlag mode, bool onlysel, bool flush)
 
static int animchannels_setflag_exec (bContext *C, wmOperator *op)
 
static void ANIM_OT_channels_setting_enable (wmOperatorType *ot)
 
static void ANIM_OT_channels_setting_disable (wmOperatorType *ot)
 
static void ANIM_OT_channels_setting_toggle (wmOperatorType *ot)
 
static void ANIM_OT_channels_editable_toggle (wmOperatorType *ot)
 
static int animchannels_expand_exec (bContext *C, wmOperator *op)
 
static void ANIM_OT_channels_expand (wmOperatorType *ot)
 
static int animchannels_collapse_exec (bContext *C, wmOperator *op)
 
static void ANIM_OT_channels_collapse (wmOperatorType *ot)
 
static int animchannels_clean_empty_exec (bContext *C, wmOperator *UNUSED(op))
 
static void ANIM_OT_channels_clean_empty (wmOperatorType *ot)
 
static bool animchannels_enable_poll (bContext *C)
 
static int animchannels_enable_exec (bContext *C, wmOperator *UNUSED(op))
 
static void ANIM_OT_channels_fcurves_enable (wmOperatorType *ot)
 
static bool animchannels_find_poll (bContext *C)
 
static int animchannels_find_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static int animchannels_find_exec (bContext *C, wmOperator *op)
 
static void ANIM_OT_channels_find (wmOperatorType *ot)
 
static int animchannels_selectall_exec (bContext *C, wmOperator *op)
 
static void ANIM_OT_channels_select_all (wmOperatorType *ot)
 
static void box_select_anim_channels (bAnimContext *ac, rcti *rect, short selectmode)
 
static int animchannels_box_select_exec (bContext *C, wmOperator *op)
 
static void ANIM_OT_channels_select_box (wmOperatorType *ot)
 
static bool rename_anim_channels (bAnimContext *ac, int channel_index)
 
static int animchannels_channel_get (bAnimContext *ac, const int mval[2])
 
static int animchannels_rename_invoke (bContext *C, wmOperator *UNUSED(op), const wmEvent *event)
 
static void ANIM_OT_channels_rename (wmOperatorType *ot)
 
static int click_select_channel_scene (bAnimListElem *ale, const short selectmode)
 
static int click_select_channel_object (bContext *C, bAnimContext *ac, bAnimListElem *ale, const short selectmode)
 
static int click_select_channel_dummy (bAnimContext *ac, bAnimListElem *ale, const short selectmode)
 
static int click_select_channel_group (bAnimContext *ac, bAnimListElem *ale, const short selectmode, const int filter)
 
static int click_select_channel_fcurve (bAnimContext *ac, bAnimListElem *ale, const short selectmode, const int filter)
 
static int click_select_channel_shapekey (bAnimContext *ac, bAnimListElem *ale, const short selectmode)
 
static int click_select_channel_nlacontrols (bAnimListElem *ale)
 
static int click_select_channel_gpdatablock (bAnimListElem *ale)
 
static int click_select_channel_gplayer (bContext *C, bAnimContext *ac, bAnimListElem *ale, const short selectmode, const int filter)
 
static int click_select_channel_maskdatablock (bAnimListElem *ale)
 
static int click_select_channel_masklayer (bAnimContext *ac, bAnimListElem *ale, const short selectmode)
 
static int mouse_anim_channels (bContext *C, bAnimContext *ac, const int channel_index, const short selectmode)
 
static int animchannels_mouseclick_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static void ANIM_OT_channels_click (wmOperatorType *ot)
 
static bool select_anim_channel_keys (bAnimContext *ac, int channel_index, bool extend)
 
static int animchannels_channel_select_keys_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static void ANIM_OT_channel_select_keys (wmOperatorType *ot)
 
void ED_operatortypes_animchannels (void)
 
void ED_keymap_animchannels (wmKeyConfig *keyconf)
 

Variables

static const EnumPropertyItem prop_animchannel_rearrange_types []
 
static const EnumPropertyItem prop_animchannel_setflag_types []
 
static const EnumPropertyItem prop_animchannel_settings_types []
 

Typedef Documentation

◆ AnimChanRearrangeFp

typedef bool(* AnimChanRearrangeFp) (ListBase *list, tReorderChannelIsland *island)

typedef for channel rearranging function

Parameters
listList of tReorderChannelIsland's that channels belong to
islandIsland to be moved
Returns
Whether operation was a success

Definition at line 931 of file anim_channels_edit.c.

◆ eRearrangeAnimChan_Mode

◆ eReorderIslandFlag

◆ tReorderChannelIsland

Enumeration Type Documentation

◆ eRearrangeAnimChan_Mode

Enumerator
REARRANGE_ANIMCHAN_TOP 
REARRANGE_ANIMCHAN_UP 
REARRANGE_ANIMCHAN_DOWN 
REARRANGE_ANIMCHAN_BOTTOM 

Definition at line 780 of file anim_channels_edit.c.

◆ eReorderIslandFlag

Enumerator
REORDER_ISLAND_SELECTED 
REORDER_ISLAND_UNTOUCHABLE 
REORDER_ISLAND_MOVED 
REORDER_ISLAND_HIDDEN 

Definition at line 807 of file anim_channels_edit.c.

Function Documentation

◆ ANIM_anim_channels_select_set()

void ANIM_anim_channels_select_set ( bAnimContext ac,
eAnimChannels_SetFlag  sel 
)

◆ ANIM_anim_channels_select_toggle()

void ANIM_anim_channels_select_toggle ( bAnimContext ac)

◆ anim_channels_for_selection()

static ListBase anim_channels_for_selection ( bAnimContext ac)
static

◆ anim_channels_select_set()

static void anim_channels_select_set ( bAnimContext ac,
const ListBase  anim_data,
eAnimChannels_SetFlag  sel 
)
static

◆ anim_channels_selection_flag_for_toggle()

static eAnimChannels_SetFlag anim_channels_selection_flag_for_toggle ( const ListBase  anim_data)
static

◆ ANIM_fcurve_delete_from_animdata()

void ANIM_fcurve_delete_from_animdata ( bAnimContext ac,
AnimData adt,
FCurve fcu 
)

◆ anim_flush_channel_setting_down()

static void anim_flush_channel_setting_down ( bAnimContext ac,
const eAnimChannel_Settings  setting,
const eAnimChannels_SetFlag  mode,
bAnimListElem *const  match,
const int  matchLevel 
)
static

◆ anim_flush_channel_setting_up()

static void anim_flush_channel_setting_up ( bAnimContext ac,
const eAnimChannel_Settings  setting,
const eAnimChannels_SetFlag  mode,
bAnimListElem *const  match,
const int  matchLevel 
)
static

◆ ANIM_flush_setting_anim_channels()

void ANIM_flush_setting_anim_channels ( bAnimContext ac,
ListBase anim_data,
bAnimListElem ale_setting,
eAnimChannel_Settings  setting,
eAnimChannels_SetFlag  mode 
)

◆ ANIM_OT_channel_select_keys()

static void ANIM_OT_channel_select_keys ( wmOperatorType ot)
static

◆ ANIM_OT_channels_clean_empty()

static void ANIM_OT_channels_clean_empty ( wmOperatorType ot)
static

◆ ANIM_OT_channels_click()

static void ANIM_OT_channels_click ( wmOperatorType ot)
static

◆ ANIM_OT_channels_collapse()

static void ANIM_OT_channels_collapse ( wmOperatorType ot)
static

◆ ANIM_OT_channels_delete()

static void ANIM_OT_channels_delete ( wmOperatorType ot)
static

◆ ANIM_OT_channels_editable_toggle()

static void ANIM_OT_channels_editable_toggle ( wmOperatorType ot)
static

◆ ANIM_OT_channels_expand()

static void ANIM_OT_channels_expand ( wmOperatorType ot)
static

◆ ANIM_OT_channels_fcurves_enable()

static void ANIM_OT_channels_fcurves_enable ( wmOperatorType ot)
static

◆ ANIM_OT_channels_find()

static void ANIM_OT_channels_find ( wmOperatorType ot)
static

◆ ANIM_OT_channels_group()

static void ANIM_OT_channels_group ( wmOperatorType ot)
static

◆ ANIM_OT_channels_move()

static void ANIM_OT_channels_move ( wmOperatorType ot)
static

◆ ANIM_OT_channels_rename()

static void ANIM_OT_channels_rename ( wmOperatorType ot)
static

◆ ANIM_OT_channels_select_all()

static void ANIM_OT_channels_select_all ( wmOperatorType ot)
static

◆ ANIM_OT_channels_select_box()

static void ANIM_OT_channels_select_box ( wmOperatorType ot)
static

◆ ANIM_OT_channels_setting_disable()

static void ANIM_OT_channels_setting_disable ( wmOperatorType ot)
static

◆ ANIM_OT_channels_setting_enable()

static void ANIM_OT_channels_setting_enable ( wmOperatorType ot)
static

◆ ANIM_OT_channels_setting_toggle()

static void ANIM_OT_channels_setting_toggle ( wmOperatorType ot)
static

◆ ANIM_OT_channels_ungroup()

static void ANIM_OT_channels_ungroup ( wmOperatorType ot)
static

◆ ANIM_remove_empty_action_from_animdata()

bool ANIM_remove_empty_action_from_animdata ( struct AnimData adt)

◆ ANIM_set_active_channel()

void ANIM_set_active_channel ( bAnimContext ac,
void *  data,
eAnimCont_Types  datatype,
eAnimFilter_Flags  filter,
void *  channel_data,
eAnim_ChannelType  channel_type 
)

◆ animchannels_box_select_exec()

static int animchannels_box_select_exec ( bContext C,
wmOperator op 
)
static

◆ animchannels_channel_get()

static int animchannels_channel_get ( bAnimContext ac,
const int  mval[2] 
)
static

◆ animchannels_channel_select_keys_invoke()

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

◆ animchannels_clean_empty_exec()

static int animchannels_clean_empty_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ animchannels_collapse_exec()

static int animchannels_collapse_exec ( bContext C,
wmOperator op 
)
static

◆ animchannels_delete_exec()

static int animchannels_delete_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ animchannels_enable_exec()

static int animchannels_enable_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ animchannels_enable_poll()

static bool animchannels_enable_poll ( bContext C)
static

◆ animchannels_expand_exec()

static int animchannels_expand_exec ( bContext C,
wmOperator op 
)
static

◆ animchannels_find_exec()

static int animchannels_find_exec ( bContext C,
wmOperator op 
)
static

◆ animchannels_find_invoke()

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

◆ animchannels_find_poll()

static bool animchannels_find_poll ( bContext C)
static

◆ animchannels_group_channels()

static void animchannels_group_channels ( bAnimContext ac,
bAnimListElem adt_ref,
const char  name[] 
)
static

◆ animchannels_group_exec()

static int animchannels_group_exec ( bContext C,
wmOperator op 
)
static

◆ animchannels_grouping_poll()

static bool animchannels_grouping_poll ( bContext C)
static

◆ animchannels_mouseclick_invoke()

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

◆ animchannels_rearrange_exec()

static int animchannels_rearrange_exec ( bContext C,
wmOperator op 
)
static

◆ animchannels_rename_invoke()

static int animchannels_rename_invoke ( bContext C,
wmOperator UNUSEDop,
const wmEvent event 
)
static

◆ animchannels_selectall_exec()

static int animchannels_selectall_exec ( bContext C,
wmOperator op 
)
static

◆ animchannels_setflag_exec()

static int animchannels_setflag_exec ( bContext C,
wmOperator op 
)
static

◆ animchannels_ungroup_exec()

static int animchannels_ungroup_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ animedit_poll_channels_active()

static bool animedit_poll_channels_active ( bContext C)
static

◆ animedit_poll_channels_nla_tweakmode_off()

static bool animedit_poll_channels_nla_tweakmode_off ( bContext C)
static

◆ box_select_anim_channels()

static void box_select_anim_channels ( bAnimContext ac,
rcti rect,
short  selectmode 
)
static

◆ click_select_channel_dummy()

static int click_select_channel_dummy ( bAnimContext ac,
bAnimListElem ale,
const short  selectmode 
)
static

◆ click_select_channel_fcurve()

static int click_select_channel_fcurve ( bAnimContext ac,
bAnimListElem ale,
const short  selectmode,
const int  filter 
)
static

◆ click_select_channel_gpdatablock()

static int click_select_channel_gpdatablock ( bAnimListElem ale)
static

◆ click_select_channel_gplayer()

static int click_select_channel_gplayer ( bContext C,
bAnimContext ac,
bAnimListElem ale,
const short  selectmode,
const int  filter 
)
static

◆ click_select_channel_group()

static int click_select_channel_group ( bAnimContext ac,
bAnimListElem ale,
const short  selectmode,
const int  filter 
)
static

◆ click_select_channel_maskdatablock()

static int click_select_channel_maskdatablock ( bAnimListElem ale)
static

◆ click_select_channel_masklayer()

static int click_select_channel_masklayer ( bAnimContext ac,
bAnimListElem ale,
const short  selectmode 
)
static

◆ click_select_channel_nlacontrols()

static int click_select_channel_nlacontrols ( bAnimListElem ale)
static

◆ click_select_channel_object()

static int click_select_channel_object ( bContext C,
bAnimContext ac,
bAnimListElem ale,
const short  selectmode 
)
static

◆ click_select_channel_scene()

static int click_select_channel_scene ( bAnimListElem ale,
const short  selectmode 
)
static

◆ click_select_channel_shapekey()

static int click_select_channel_shapekey ( bAnimContext ac,
bAnimListElem ale,
const short  selectmode 
)
static

◆ ED_keymap_animchannels()

void ED_keymap_animchannels ( wmKeyConfig keyconf)

Definition at line 3595 of file anim_channels_edit.c.

References WM_keymap_ensure().

Referenced by ED_spacetypes_keymap().

◆ ED_operatortypes_animchannels()

void ED_operatortypes_animchannels ( void  )

◆ join_groups_action_temp()

static void join_groups_action_temp ( bAction act)
static

◆ mouse_anim_channels()

static int mouse_anim_channels ( bContext C,
bAnimContext ac,
const int  channel_index,
const short  selectmode 
)
static

◆ rearrange_action_channels()

static void rearrange_action_channels ( bAnimContext ac,
bAction act,
eRearrangeAnimChan_Mode  mode 
)
static

◆ rearrange_animchannel_add_to_islands()

static void rearrange_animchannel_add_to_islands ( ListBase islands,
ListBase srcList,
Link channel,
eAnim_ChannelType  type,
const bool  is_hidden 
)
static

◆ rearrange_animchannel_flatten_islands()

static void rearrange_animchannel_flatten_islands ( ListBase islands,
ListBase srcList 
)
static

◆ rearrange_animchannel_islands()

static bool rearrange_animchannel_islands ( ListBase list,
AnimChanRearrangeFp  rearrange_func,
eRearrangeAnimChan_Mode  mode,
eAnim_ChannelType  type,
ListBase anim_data_visible 
)
static

◆ rearrange_animchannels_filter_visible()

static void rearrange_animchannels_filter_visible ( ListBase anim_data_visible,
bAnimContext ac,
eAnim_ChannelType  type 
)
static

◆ rearrange_driver_channels()

static void rearrange_driver_channels ( bAnimContext ac,
AnimData adt,
eRearrangeAnimChan_Mode  mode 
)
static

◆ rearrange_get_mode_func()

static AnimChanRearrangeFp rearrange_get_mode_func ( eRearrangeAnimChan_Mode  mode)
static

◆ rearrange_gpencil_channels()

static void rearrange_gpencil_channels ( bAnimContext ac,
eRearrangeAnimChan_Mode  mode 
)
static

◆ rearrange_gpencil_get_mode_func()

static AnimChanRearrangeFp rearrange_gpencil_get_mode_func ( eRearrangeAnimChan_Mode  mode)
static

◆ rearrange_island_bottom()

static bool rearrange_island_bottom ( ListBase list,
tReorderChannelIsland island 
)
static

◆ rearrange_island_down()

static bool rearrange_island_down ( ListBase list,
tReorderChannelIsland island 
)
static

◆ rearrange_island_ok()

static bool rearrange_island_ok ( tReorderChannelIsland island)
static

◆ rearrange_island_top()

static bool rearrange_island_top ( ListBase list,
tReorderChannelIsland island 
)
static

◆ rearrange_island_up()

static bool rearrange_island_up ( ListBase list,
tReorderChannelIsland island 
)
static

◆ rearrange_nla_channels()

static void rearrange_nla_channels ( bAnimContext ac,
AnimData adt,
eRearrangeAnimChan_Mode  mode 
)
static

◆ rearrange_nla_control_channels()

static void rearrange_nla_control_channels ( bAnimContext ac,
AnimData adt,
eRearrangeAnimChan_Mode  mode 
)
static

◆ rename_anim_channels()

static bool rename_anim_channels ( bAnimContext ac,
int  channel_index 
)
static

◆ select_anim_channel_keys()

static bool select_anim_channel_keys ( bAnimContext ac,
int  channel_index,
bool  extend 
)
static

◆ select_pchan_for_action_group()

static void select_pchan_for_action_group ( bAnimContext ac,
bActionGroup agrp,
bAnimListElem ale 
)
static

◆ setflag_anim_channels()

static void setflag_anim_channels ( bAnimContext ac,
eAnimChannel_Settings  setting,
eAnimChannels_SetFlag  mode,
bool  onlysel,
bool  flush 
)
static

◆ split_groups_action_temp()

static void split_groups_action_temp ( bAction act,
bActionGroup tgrp 
)
static

◆ tag_update_animation_element()

static void tag_update_animation_element ( bAnimListElem ale)
static

Variable Documentation

◆ prop_animchannel_rearrange_types

const EnumPropertyItem prop_animchannel_rearrange_types[]
static
Initial value:
= {
{REARRANGE_ANIMCHAN_TOP, "TOP", 0, "To Top", ""},
{REARRANGE_ANIMCHAN_UP, "UP", 0, "Up", ""},
{REARRANGE_ANIMCHAN_DOWN, "DOWN", 0, "Down", ""},
{REARRANGE_ANIMCHAN_BOTTOM, "BOTTOM", 0, "To Bottom", ""},
{0, NULL, 0, NULL, NULL},
}
@ REARRANGE_ANIMCHAN_DOWN
@ REARRANGE_ANIMCHAN_UP
@ REARRANGE_ANIMCHAN_BOTTOM
@ REARRANGE_ANIMCHAN_TOP

Definition at line 788 of file anim_channels_edit.c.

Referenced by ANIM_OT_channels_move().

◆ prop_animchannel_setflag_types

const EnumPropertyItem prop_animchannel_setflag_types[]
static
Initial value:
= {
{ACHANNEL_SETFLAG_TOGGLE, "TOGGLE", 0, "Toggle", ""},
{ACHANNEL_SETFLAG_CLEAR, "DISABLE", 0, "Disable", ""},
{ACHANNEL_SETFLAG_ADD, "ENABLE", 0, "Enable", ""},
{ACHANNEL_SETFLAG_INVERT, "INVERT", 0, "Invert", ""},
{0, NULL, 0, NULL, NULL},
}
@ ACHANNEL_SETFLAG_TOGGLE
Definition: ED_anim_api.h:514
@ ACHANNEL_SETFLAG_ADD
Definition: ED_anim_api.h:510
@ ACHANNEL_SETFLAG_INVERT
Definition: ED_anim_api.h:512
@ ACHANNEL_SETFLAG_CLEAR
Definition: ED_anim_api.h:508

Definition at line 2012 of file anim_channels_edit.c.

Referenced by ANIM_OT_channels_editable_toggle(), ANIM_OT_channels_setting_disable(), ANIM_OT_channels_setting_enable(), and ANIM_OT_channels_setting_toggle().

◆ prop_animchannel_settings_types

const EnumPropertyItem prop_animchannel_settings_types[]
static
Initial value:
= {
{ACHANNEL_SETTING_PROTECT, "PROTECT", 0, "Protect", ""},
{ACHANNEL_SETTING_MUTE, "MUTE", 0, "Mute", ""},
{0, NULL, 0, NULL, NULL},
}
@ ACHANNEL_SETTING_MUTE
Definition: ED_anim_api.h:522
@ ACHANNEL_SETTING_PROTECT
Definition: ED_anim_api.h:521

Definition at line 2022 of file anim_channels_edit.c.

Referenced by ANIM_OT_channels_editable_toggle(), ANIM_OT_channels_setting_disable(), ANIM_OT_channels_setting_enable(), and ANIM_OT_channels_setting_toggle().