Blender
V3.3
|
#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_main.h"
#include "BKE_mask.h"
#include "BKE_nla.h"
#include "BKE_scene.h"
#include "BKE_screen.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) } |
Variables | |
static const EnumPropertyItem | prop_animchannel_rearrange_types [] |
static const EnumPropertyItem | prop_animchannel_setflag_types [] |
static const EnumPropertyItem | prop_animchannel_settings_types [] |
typedef bool(* AnimChanRearrangeFp) (ListBase *list, tReorderChannelIsland *island) |
typedef for channel rearranging function
list | List of tReorderChannelIsland's that channels belong to |
island | Island to be moved |
Definition at line 906 of file anim_channels_edit.c.
typedef enum eRearrangeAnimChan_Mode eRearrangeAnimChan_Mode |
typedef enum eReorderIslandFlag eReorderIslandFlag |
typedef struct tReorderChannelIsland tReorderChannelIsland |
Enumerator | |
---|---|
REARRANGE_ANIMCHAN_TOP | |
REARRANGE_ANIMCHAN_UP | |
REARRANGE_ANIMCHAN_DOWN | |
REARRANGE_ANIMCHAN_BOTTOM |
Definition at line 755 of file anim_channels_edit.c.
enum eReorderIslandFlag |
Enumerator | |
---|---|
REORDER_ISLAND_SELECTED | |
REORDER_ISLAND_UNTOUCHABLE | |
REORDER_ISLAND_MOVED | |
REORDER_ISLAND_HIDDEN |
Definition at line 782 of file anim_channels_edit.c.
void ANIM_anim_channels_select_set | ( | bAnimContext * | ac, |
eAnimChannels_SetFlag | sel | ||
) |
Set selection state of all animation channels in the context.
Definition at line 451 of file anim_channels_edit.c.
References ANIM_animdata_freelist(), anim_channels_for_selection(), and anim_channels_select_set().
Referenced by animchannels_box_select_exec(), animchannels_selectall_exec(), click_select_channel_dummy(), click_select_channel_fcurve(), click_select_channel_gplayer(), click_select_channel_group(), click_select_channel_masklayer(), click_select_channel_shapekey(), drivers_editor_show_exec(), mouse_action_keys(), mouse_graph_keys(), mouse_nla_channels(), and mouse_nla_strips().
void ANIM_anim_channels_select_toggle | ( | bAnimContext * | ac | ) |
Toggle selection state of all animation channels in the context.
Definition at line 458 of file anim_channels_edit.c.
References ANIM_animdata_freelist(), anim_channels_for_selection(), anim_channels_select_set(), and anim_channels_selection_flag_for_toggle().
Referenced by animchannels_selectall_exec().
|
static |
Definition at line 244 of file anim_channels_edit.c.
References ANIM_animdata_filter(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_LIST_CHANNELS, bAnimContext::data, bAnimContext::datatype, filter(), and NULL.
Referenced by ANIM_anim_channels_select_set(), and ANIM_anim_channels_select_toggle().
|
static |
Definition at line 340 of file anim_channels_edit.c.
References ACHANNEL_SET_FLAG, bAnimListElem::adt, Scene::adt, ADT_UI_ACTIVE, ADT_UI_SELECTED, AGRP_ACTIVE, AGRP_SELECTED, ANIMTYPE_DSARM, ANIMTYPE_DSCACHEFILE, ANIMTYPE_DSCAM, ANIMTYPE_DSCUR, ANIMTYPE_DSGPENCIL, ANIMTYPE_DSHAIR, ANIMTYPE_DSLAM, ANIMTYPE_DSLAT, ANIMTYPE_DSLINESTYLE, ANIMTYPE_DSMAT, ANIMTYPE_DSMBALL, ANIMTYPE_DSMCLIP, ANIMTYPE_DSMESH, ANIMTYPE_DSNTREE, ANIMTYPE_DSPART, ANIMTYPE_DSPOINTCLOUD, ANIMTYPE_DSSIMULATION, ANIMTYPE_DSSKEY, ANIMTYPE_DSSPK, ANIMTYPE_DSTEX, ANIMTYPE_DSVOLUME, ANIMTYPE_DSWOR, ANIMTYPE_FCURVE, ANIMTYPE_FILLACTD, ANIMTYPE_GPLAYER, ANIMTYPE_GROUP, ANIMTYPE_MASKLAYER, ANIMTYPE_NLAACTION, ANIMTYPE_NLACURVE, ANIMTYPE_NLATRACK, ANIMTYPE_OBJECT, ANIMTYPE_SCENE, ANIMTYPE_SHAPEKEY, bAnimListElem::data, FCURVE_ACTIVE, FCURVE_SELECTED, ListBase::first, bActionGroup::flag, FCurve::flag, NlaTrack::flag, AnimData::flag, GP_LAYER_SELECT, KEYBLOCK_SEL, MASK_LAYERFLAG_SELECT, bAnimListElem::next, NLATRACK_ACTIVE, NLATRACK_SELECTED, Base::object, SCE_DS_SELECTED, scene, SELECT, select_pchan_for_action_group(), and bAnimListElem::type.
Referenced by ANIM_anim_channels_select_set(), and ANIM_anim_channels_select_toggle().
|
static |
Definition at line 256 of file anim_channels_edit.c.
References ACHANNEL_SETFLAG_ADD, ACHANNEL_SETFLAG_CLEAR, ADT_UI_SELECTED, AGRP_SELECTED, ANIMTYPE_DSARM, ANIMTYPE_DSCACHEFILE, ANIMTYPE_DSCAM, ANIMTYPE_DSCUR, ANIMTYPE_DSGPENCIL, ANIMTYPE_DSHAIR, ANIMTYPE_DSLAM, ANIMTYPE_DSLAT, ANIMTYPE_DSLINESTYLE, ANIMTYPE_DSMAT, ANIMTYPE_DSMBALL, ANIMTYPE_DSMCLIP, ANIMTYPE_DSMESH, ANIMTYPE_DSNTREE, ANIMTYPE_DSPART, ANIMTYPE_DSPOINTCLOUD, ANIMTYPE_DSSIMULATION, ANIMTYPE_DSSKEY, ANIMTYPE_DSSPK, ANIMTYPE_DSTEX, ANIMTYPE_DSVOLUME, ANIMTYPE_DSWOR, ANIMTYPE_FCURVE, ANIMTYPE_FILLACTD, ANIMTYPE_GPLAYER, ANIMTYPE_GROUP, ANIMTYPE_MASKLAYER, ANIMTYPE_NLAACTION, ANIMTYPE_NLACURVE, ANIMTYPE_NLATRACK, ANIMTYPE_OBJECT, ANIMTYPE_SCENE, ANIMTYPE_SHAPEKEY, FCURVE_SELECTED, ListBase::first, GP_LAYER_SELECT, KEYBLOCK_SEL, MASK_LAYERFLAG_SELECT, NLATRACK_SELECTED, SCE_DS_SELECTED, and SELECT.
Referenced by ANIM_anim_channels_select_toggle().
void ANIM_fcurve_delete_from_animdata | ( | bAnimContext * | ac, |
struct AnimData * | adt, | ||
struct FCurve * | fcu | ||
) |
Delete the F-Curve from the given AnimData block (if possible), as appropriate according to animation context.
Definition at line 632 of file anim_channels_edit.c.
References AnimData::action, action_groups_remove_channel(), ANIM_remove_empty_action_from_animdata(), ANIMCONT_DRIVERS, BKE_fcurve_free(), BLI_freelinkN(), BLI_listbase_is_empty(), BLI_remlink(), bActionGroup::channels, bAction::curves, bAnimContext::datatype, AnimData::drivers, ELEM, bAction::groups, FCurve::grp, and NULL.
Referenced by animchannels_delete_exec(), clean_fcurve(), clear_anim_v3d_exec(), clear_keyframe(), delete_action_keys(), delete_graph_keys(), and delete_keyframe_fcurve().
|
static |
Definition at line 540 of file anim_channels_edit.c.
References ANIM_channel_get_typeinfo(), ANIM_channel_setting_set(), bAnimChannelType::get_offset, bAnimListElem::next, and NULL.
Referenced by ANIM_flush_setting_anim_channels().
|
static |
Definition at line 469 of file anim_channels_edit.c.
References ACHANNEL_SETFLAG_CLEAR, ACHANNEL_SETTING_VISIBLE, ANIM_channel_get_typeinfo(), ANIM_channel_setting_set(), bAnimChannelType::get_offset, NULL, and bAnimListElem::prev.
Referenced by 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 | ||
) |
Flush visibility (for Graph Editor) changes up/down hierarchy for changes in the given setting
Definition at line 577 of file anim_channels_edit.c.
References ACHANNEL_SETTING_ALWAYS_VISIBLE, ANIM_channel_get_typeinfo(), anim_flush_channel_setting_down(), anim_flush_channel_setting_up(), bAnimListElem::data, ELEM, ListBase::first, bAnimChannelType::get_offset, bAnimListElem::id, bAnimListElem::next, NULL, and bAnimListElem::type.
Referenced by achannel_setting_flush_widget_cb(), graphview_curves_hide_exec(), graphview_curves_reveal_exec(), and setflag_anim_channels().
|
static |
Definition at line 3561 of file anim_channels_edit.c.
References animchannels_channel_select_keys_invoke(), animedit_poll_channels_active(), wmOperatorType::description, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_animchannels().
|
static |
Definition at line 2421 of file anim_channels_edit.c.
References animchannels_clean_empty_exec(), animedit_poll_channels_nla_tweakmode_off(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_animchannels().
|
static |
Definition at line 3439 of file anim_channels_edit.c.
References animchannels_mouseclick_invoke(), animedit_poll_channels_active(), wmOperatorType::description, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_animchannels().
|
static |
Definition at line 2308 of file anim_channels_edit.c.
References animchannels_collapse_exec(), animedit_poll_channels_active(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_animchannels().
|
static |
Definition at line 1975 of file anim_channels_edit.c.
References animchannels_delete_exec(), animedit_poll_channels_active(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_animchannels().
|
static |
Definition at line 2211 of file anim_channels_edit.c.
References ACHANNEL_SETFLAG_TOGGLE, ACHANNEL_SETTING_PROTECT, animchannels_setflag_exec(), animedit_poll_channels_active(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, prop_animchannel_setflag_types, prop_animchannel_settings_types, PROP_HIDDEN, RNA_def_enum(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by ED_operatortypes_animchannels().
|
static |
Definition at line 2263 of file anim_channels_edit.c.
References animchannels_expand_exec(), animedit_poll_channels_active(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by ED_operatortypes_animchannels().
|
static |
Definition at line 2498 of file anim_channels_edit.c.
References animchannels_enable_exec(), animchannels_enable_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_animchannels().
|
static |
Definition at line 1716 of file anim_channels_edit.c.
References animchannels_group_exec(), animchannels_grouping_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_string(), wmOperatorType::srna, and WM_operator_props_popup().
Referenced by ED_operatortypes_animchannels().
|
static |
Definition at line 1561 of file anim_channels_edit.c.
References animchannels_rearrange_exec(), animedit_poll_channels_nla_tweakmode_off(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_animchannel_rearrange_types, REARRANGE_ANIMCHAN_DOWN, RNA_def_enum(), and wmOperatorType::srna.
Referenced by ED_operatortypes_animchannels().
|
static |
Definition at line 2928 of file anim_channels_edit.c.
References animchannels_rename_invoke(), animedit_poll_channels_active(), wmOperatorType::description, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_animchannels().
|
static |
Definition at line 2623 of file anim_channels_edit.c.
References animchannels_selectall_exec(), animedit_poll_channels_nla_tweakmode_off(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and WM_operator_properties_select_all().
Referenced by ED_operatortypes_animchannels().
|
static |
Definition at line 2757 of file anim_channels_edit.c.
References animchannels_box_select_exec(), animedit_poll_channels_nla_tweakmode_off(), wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, WM_gesture_box_cancel(), WM_gesture_box_invoke(), WM_gesture_box_modal(), and WM_operator_properties_gesture_box_select().
Referenced by ED_operatortypes_animchannels().
|
static |
Definition at line 2571 of file anim_channels_edit.c.
References animchannels_select_filter_invoke(), animchannels_select_filter_modal(), animchannels_select_filter_poll(), wmOperatorType::description, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_animchannels().
|
static |
Definition at line 2159 of file anim_channels_edit.c.
References ACHANNEL_SETFLAG_CLEAR, animchannels_setflag_exec(), animedit_poll_channels_active(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_animchannel_setflag_types, prop_animchannel_settings_types, PROP_HIDDEN, RNA_def_enum(), RNA_def_property_flag(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by ED_operatortypes_animchannels().
|
static |
Definition at line 2133 of file anim_channels_edit.c.
References ACHANNEL_SETFLAG_ADD, animchannels_setflag_exec(), animedit_poll_channels_active(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_animchannel_setflag_types, prop_animchannel_settings_types, PROP_HIDDEN, RNA_def_enum(), RNA_def_property_flag(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by ED_operatortypes_animchannels().
|
static |
Definition at line 2185 of file anim_channels_edit.c.
References ACHANNEL_SETFLAG_TOGGLE, animchannels_setflag_exec(), animedit_poll_channels_active(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_animchannel_setflag_types, prop_animchannel_settings_types, PROP_HIDDEN, RNA_def_enum(), RNA_def_property_flag(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by ED_operatortypes_animchannels().
|
static |
Definition at line 1793 of file anim_channels_edit.c.
References animchannels_grouping_poll(), animchannels_ungroup_exec(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_animchannels().
Unlink the action from animdata if it's empty.
If the action has no F-Curves, unlink it from AnimData if it did not come from a NLA Strip being tweaked.
Definition at line 687 of file anim_channels_edit.c.
References AnimData::action, ADT_NLA_EDIT_ON, BLI_listbase_is_empty(), bAction::curves, AnimData::flag, bAction::id, id_us_min(), and NULL.
Referenced by ANIM_fcurve_delete_from_animdata(), and clear_anim_v3d_exec().
void ANIM_set_active_channel | ( | bAnimContext * | ac, |
void * | data, | ||
eAnimCont_Types | datatype, | ||
eAnimFilter_Flags | filter, | ||
void * | channel_data, | ||
eAnim_ChannelType | channel_type | ||
) |
Set the given animation-channel as the active one for the active context.
Definition at line 62 of file anim_channels_edit.c.
References ACHANNEL_SET_FLAG, ACHANNEL_SETFLAG_CLEAR, bAnimListElem::adt, ADT_UI_ACTIVE, AGRP_ACTIVE, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMTYPE_DSARM, ANIMTYPE_DSCACHEFILE, ANIMTYPE_DSCAM, ANIMTYPE_DSCUR, ANIMTYPE_DSGPENCIL, ANIMTYPE_DSHAIR, ANIMTYPE_DSLAM, ANIMTYPE_DSLAT, ANIMTYPE_DSLINESTYLE, ANIMTYPE_DSMAT, ANIMTYPE_DSMBALL, ANIMTYPE_DSMCLIP, ANIMTYPE_DSMESH, ANIMTYPE_DSNTREE, ANIMTYPE_DSPART, ANIMTYPE_DSPOINTCLOUD, ANIMTYPE_DSSIMULATION, ANIMTYPE_DSSKEY, ANIMTYPE_DSSPK, ANIMTYPE_DSTEX, ANIMTYPE_DSVOLUME, ANIMTYPE_DSWOR, ANIMTYPE_FCURVE, ANIMTYPE_FILLACTD, ANIMTYPE_GPLAYER, ANIMTYPE_GROUP, ANIMTYPE_MASKLAYER, ANIMTYPE_NLAACTION, ANIMTYPE_NLACURVE, ANIMTYPE_NLATRACK, ANIMTYPE_SHAPEKEY, BLI_listbase_is_empty(), data, bAnimListElem::data, FCURVE_ACTIVE, filter(), ListBase::first, bActionGroup::flag, FCurve::flag, NlaTrack::flag, AnimData::flag, bGPDlayer::flag, GP_LAYER_ACTIVE, bAnimListElem::next, NLATRACK_ACTIVE, NULL, and bAnimListElem::type.
Referenced by box_select_graphcurves(), click_select_channel_fcurve(), click_select_channel_gplayer(), click_select_channel_group(), drivers_editor_show_exec(), mouse_action_keys(), mouse_graph_keys(), mouse_nla_channels(), and mouse_nla_strips().
|
static |
Definition at line 2721 of file anim_channels_edit.c.
References ACHANNEL_SETFLAG_ADD, ACHANNEL_SETFLAG_CLEAR, ANIM_anim_channels_select_set(), ANIM_animdata_get_context(), box_select_anim_channels(), C, NA_SELECTED, NC_ANIMATION, ND_ANIMCHAN, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), select(), WM_event_add_notifier(), and WM_operator_properties_border_to_rcti().
Referenced by ANIM_OT_channels_select_box().
|
static |
Definition at line 2867 of file anim_channels_edit.c.
References ACHANNEL_FIRST_TOP, ACHANNEL_NAMEWIDTH, ACHANNEL_STEP, ANIMCONT_NLA, bAnimContext::datatype, NLACHANNEL_FIRST_TOP, NLACHANNEL_NAMEWIDTH, NLACHANNEL_STEP, NULL, bAnimContext::region, bAnimContext::sl, UI_view2d_listview_view_to_cell(), UI_view2d_region_to_view(), ARegion::v2d, x, and y.
Referenced by animchannels_channel_select_keys_invoke(), and animchannels_rename_invoke().
|
static |
Definition at line 3536 of file anim_channels_edit.c.
References ANIM_animdata_get_context(), animchannels_channel_get(), C, wmEvent::mval, NA_SELECTED, NC_ANIMATION, ND_KEYFRAME, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, wmOperator::ptr, RNA_boolean_get(), select_anim_channel_keys(), and WM_event_add_notifier().
Referenced by ANIM_OT_channel_select_keys().
|
static |
Definition at line 2339 of file anim_channels_edit.c.
References AnimData::action, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_ANIMDATA, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_LIST_VISIBLE, ANIMFILTER_NODUPLIS, BKE_animdata_free(), BLI_assert, C, bAction::curves, bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, AnimData::drivers, ELEM, filter(), ListBase::first, bAnimListElem::id, NA_EDITED, NA_REMOVED, NC_ANIMATION, ND_ANIMCHAN, ND_NLA, bAnimListElem::next, NlaTrack::next, AnimData::nla_tracks, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, NlaTrack::strips, and WM_event_add_notifier().
Referenced by ANIM_OT_channels_clean_empty().
|
static |
Definition at line 2284 of file anim_channels_edit.c.
References ACHANNEL_SETFLAG_CLEAR, ACHANNEL_SETTING_EXPAND, ANIM_animdata_get_context(), C, NA_EDITED, NC_ANIMATION, ND_ANIMCHAN, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), setflag_anim_channels(), and WM_event_add_notifier().
Referenced by ANIM_OT_channels_collapse().
|
static |
Definition at line 1830 of file anim_channels_edit.c.
References action_groups_remove_channel(), bAnimListElem::adt, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIM_animdata_update(), ANIM_fcurve_delete_from_animdata(), ANIM_UPDATE_DEPS, ANIMCONT_DRIVERS, ANIMCONT_SHAPEKEY, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FOREDIT, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, ANIMTYPE_FCURVE, ANIMTYPE_GPLAYER, ANIMTYPE_GROUP, ANIMTYPE_MASKLAYER, ANIMTYPE_NLACURVE, BKE_fcurve_free(), BKE_gpencil_free_data(), BKE_gpencil_layer_delete(), BKE_id_free_us(), BKE_mask_layer_remove(), BLI_freelinkN(), BLI_remlink(), C, bActionGroup::channels, CTX_data_main(), CTX_data_scene(), bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, DEG_id_tag_update_ex(), DEG_relations_tag_update(), NlaStrip::fcurves, filter(), ListBase::first, NlaStrip::flag, bGPdata::flag, GP_DATA_ANNOTATIONS, Scene::gpd, FCurve::grp, bAnimListElem::id, ID_RECALC_ANIMATION, if(), bGPdata::layers, mask(), MEM_freeN, NA_EDITED, NA_REMOVED, NC_ANIMATION, ND_ANIMCHAN, ND_KEYFRAME, bAnimListElem::next, FCurve::next, NLASTRIP_FLAG_USR_INFLUENCE, NLASTRIP_FLAG_USR_TIME, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, bAnimListElem::owner, scene, STREQ, tag_update_animation_element(), bAnimListElem::type, bAnimListElem::update, and WM_event_add_notifier().
Referenced by ANIM_OT_channels_delete().
|
static |
Definition at line 2456 of file anim_channels_edit.c.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIM_animdata_update(), ANIM_UPDATE_DEPS, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_NODUPLIS, C, bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, FCurve::driver, DRIVER_FLAG_INVALID, FCURVE_DISABLED, filter(), ListBase::first, ChannelDriver::flag, FCurve::flag, if(), NA_EDITED, NC_ANIMATION, ND_ANIMCHAN, bAnimListElem::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, bAnimListElem::update, and WM_event_add_notifier().
Referenced by ANIM_OT_channels_fcurves_enable().
Definition at line 2438 of file anim_channels_edit.c.
References blender::compositor::area(), C, CTX_wm_area(), CTX_wm_region(), ELEM, NULL, SPACE_ACTION, and SPACE_GRAPH.
Referenced by ANIM_OT_channels_fcurves_enable().
|
static |
Definition at line 2239 of file anim_channels_edit.c.
References ACHANNEL_SETFLAG_ADD, ACHANNEL_SETTING_EXPAND, ANIM_animdata_get_context(), C, NA_EDITED, NC_ANIMATION, ND_ANIMCHAN, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), setflag_anim_channels(), and WM_event_add_notifier().
Referenced by ANIM_OT_channels_expand().
|
static |
Definition at line 1632 of file anim_channels_edit.c.
References AnimData::action, action_groups_add_channel(), action_groups_add_new(), action_groups_remove_channel(), bAnimListElem::adt, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMCONT_CHANNEL, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_VISIBLE, ANIMFILTER_SEL, BLI_assert, BLI_freelinkN(), BLI_listbase_is_empty(), bAnimListElem::data, filter(), ListBase::first, bAction::groups, FCurve::grp, bAnimListElem::next, and NULL.
Referenced by animchannels_group_exec().
|
static |
Definition at line 1678 of file anim_channels_edit.c.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), animchannels_group_channels(), ANIMFILTER_ANIMDATA, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_VISIBLE, ANIMFILTER_NODUPLIS, C, bAnimContext::data, bAnimContext::datatype, filter(), ListBase::first, MAX_NAME, NA_EDITED, NC_ANIMATION, ND_ANIMCHAN, bAnimListElem::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_string_get(), and WM_event_add_notifier().
Referenced by ANIM_OT_channels_group().
Definition at line 1586 of file anim_channels_edit.c.
References blender::compositor::area(), C, CTX_wm_area(), CTX_wm_region(), CTX_wm_space_data(), ELEM, SpaceAction::mode, SpaceGraph::mode, NULL, SACTCONT_ACTION, SACTCONT_DOPESHEET, SIPO_MODE_ANIMATION, SPACE_ACTION, and SPACE_GRAPH.
Referenced by ANIM_OT_channels_group(), and ANIM_OT_channels_ungroup().
|
static |
Definition at line 3386 of file anim_channels_edit.c.
References ACHANNEL_FIRST_TOP, ACHANNEL_NAMEWIDTH, ACHANNEL_STEP, ANIM_animdata_get_context(), C, mouse_anim_channels(), wmEvent::mval, NC_ANIMATION, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, wmOperator::ptr, bAnimContext::region, RNA_boolean_get(), SELECT_INVERT, SELECT_REPLACE, UI_view2d_listview_view_to_cell(), UI_view2d_region_to_view(), ARegion::v2d, WM_event_add_notifier(), WM_operator_flag_only_pass_through_on_press(), x, and y.
Referenced by ANIM_OT_channels_click().
|
static |
Definition at line 1470 of file anim_channels_edit.c.
References AnimData::action, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMCONT_ACTION, ANIMCONT_DRIVERS, ANIMCONT_GPENCIL, ANIMCONT_MASK, ANIMCONT_NLA, ANIMCONT_SHAPEKEY, ANIMFILTER_ANIMDATA, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_VISIBLE, C, bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, DEG_id_tag_update(), filter(), ListBase::first, G, G_DEBUG, bAnimListElem::id, ID_RECALC_ANIMATION, NA_EDITED, NC_ANIMATION, ND_ANIMCHAN, ND_NLA_ORDER, bAnimListElem::next, AnimData::nla_tracks, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, rearrange_action_channels(), rearrange_driver_channels(), rearrange_gpencil_channels(), rearrange_nla_channels(), rearrange_nla_control_channels(), RNA_enum_get(), and WM_event_add_notifier().
Referenced by ANIM_OT_channels_move().
|
static |
Definition at line 2906 of file anim_channels_edit.c.
References ANIM_animdata_get_context(), animchannels_channel_get(), C, wmEvent::mval, NA_RENAME, NC_ANIMATION, ND_ANIMCHAN, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, rename_anim_channels(), and WM_event_add_notifier().
Referenced by ANIM_OT_channels_rename().
|
static |
Definition at line 2528 of file anim_channels_edit.c.
References blender::compositor::area(), BKE_area_find_region_type(), C, CTX_wm_area(), CTX_wm_region(), CTX_wm_region_set(), ED_region_tag_redraw(), ED_region_toggle_hidden(), ARegion::flag, OPERATOR_RUNNING_MODAL, RGN_FLAG_HIDDEN, RGN_TYPE_CHANNELS, and WM_event_add_modal_handler().
Referenced by ANIM_OT_channels_select_filter().
|
static |
Definition at line 2553 of file anim_channels_edit.c.
References bAnimContext::ads, ANIM_animdata_get_context(), C, CTX_wm_region(), NA_EDITED, NC_ANIMATION, ND_ANIMCHAN, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, UI_textbutton_activate_rna(), and WM_event_add_notifier().
Referenced by ANIM_OT_channels_select_filter().
Definition at line 2516 of file anim_channels_edit.c.
References blender::compositor::area(), C, CTX_wm_area(), ELEM, NULL, SPACE_ACTION, SPACE_GRAPH, and SPACE_NLA.
Referenced by ANIM_OT_channels_select_filter().
|
static |
Definition at line 2588 of file anim_channels_edit.c.
References ACHANNEL_SETFLAG_ADD, ACHANNEL_SETFLAG_CLEAR, ACHANNEL_SETFLAG_INVERT, ANIM_anim_channels_select_set(), ANIM_anim_channels_select_toggle(), ANIM_animdata_get_context(), BLI_assert, C, NA_SELECTED, NC_ANIMATION, ND_ANIMCHAN, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), SEL_DESELECT, SEL_INVERT, SEL_SELECT, SEL_TOGGLE, and WM_event_add_notifier().
Referenced by ANIM_OT_channels_select_all().
|
static |
Definition at line 2100 of file anim_channels_edit.c.
References ACHANNEL_SETTING_EXPAND, ANIM_animdata_get_context(), C, NA_EDITED, NC_ANIMATION, ND_ANIMCHAN, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), setflag_anim_channels(), and WM_event_add_notifier().
Referenced by ANIM_OT_channels_editable_toggle(), ANIM_OT_channels_setting_disable(), ANIM_OT_channels_setting_enable(), and ANIM_OT_channels_setting_toggle().
|
static |
Definition at line 1744 of file anim_channels_edit.c.
References AnimData::action, action_groups_remove_channel(), bAnimListElem::adt, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_VISIBLE, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, BLI_addtail(), BLI_freelinkN(), BLI_listbase_is_empty(), C, bActionGroup::channels, bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, filter(), ListBase::first, FCurve::grp, if(), NA_EDITED, NC_ANIMATION, ND_ANIMCHAN, bAnimListElem::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by ANIM_OT_channels_ungroup().
Definition at line 708 of file anim_channels_edit.c.
References blender::compositor::area(), C, CTX_wm_area(), CTX_wm_region(), ELEM, NULL, SPACE_ACTION, SPACE_GRAPH, and SPACE_NLA.
Referenced by ANIM_OT_channel_select_keys(), ANIM_OT_channels_click(), ANIM_OT_channels_collapse(), ANIM_OT_channels_delete(), ANIM_OT_channels_editable_toggle(), ANIM_OT_channels_expand(), ANIM_OT_channels_rename(), ANIM_OT_channels_setting_disable(), ANIM_OT_channels_setting_enable(), and ANIM_OT_channels_setting_toggle().
Definition at line 726 of file anim_channels_edit.c.
References blender::compositor::area(), C, CTX_data_scene(), CTX_wm_area(), CTX_wm_region(), ELEM, Scene::flag, NULL, SCE_NLA_EDIT_ON, scene, SPACE_ACTION, SPACE_GRAPH, and SPACE_NLA.
Referenced by ANIM_OT_channels_clean_empty(), ANIM_OT_channels_move(), ANIM_OT_channels_select_all(), and ANIM_OT_channels_select_box().
|
static |
Definition at line 2643 of file anim_channels_edit.c.
References ACHANNEL_FIRST_TOP, ACHANNEL_SET_FLAG, ACHANNEL_SETTING_SELECT, ACHANNEL_STEP, AGRP_ACTIVE, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_channel_setting_set(), ANIMCONT_NLA, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, ANIMTYPE_GPDATABLOCK, ANIMTYPE_GROUP, ANIMTYPE_NLATRACK, bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, filter(), ListBase::first, bActionGroup::flag, bAnimListElem::next, NLACHANNEL_FIRST_TOP, NLACHANNEL_STEP, NLATRACK_SELECTED, NULL, bAnimContext::region, select_pchan_for_action_group(), bAnimContext::sl, bAnimListElem::type, UI_view2d_region_to_view(), ARegion::v2d, rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.
Referenced by animchannels_box_select_exec().
|
static |
Definition at line 3020 of file anim_channels_edit.c.
References ACHANNEL_SETFLAG_CLEAR, bAnimListElem::adt, ADT_UI_ACTIVE, ADT_UI_SELECTED, ANIM_anim_channels_select_set(), AnimData::flag, NA_SELECTED, ND_ANIMCHAN, NULL, and SELECT_INVERT.
Referenced by mouse_anim_channels().
|
static |
Definition at line 3129 of file anim_channels_edit.c.
References ACHANNEL_SETFLAG_CLEAR, ANIM_anim_channels_select_set(), ANIM_set_active_channel(), bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, FCURVE_SELECTED, filter(), FCurve::flag, if(), NA_SELECTED, ND_ANIMCHAN, SELECT_INVERT, and bAnimListElem::type.
Referenced by mouse_anim_channels().
|
static |
Definition at line 3189 of file anim_channels_edit.c.
References bAnimListElem::data, bGPdata::flag, GP_DATA_EXPAND, NA_EDITED, ND_ANIMCHAN, and return().
Referenced by mouse_anim_channels().
|
static |
Definition at line 3202 of file anim_channels_edit.c.
References ACHANNEL_SETFLAG_CLEAR, ANIM_anim_channels_select_set(), ANIM_set_active_channel(), ANIMTYPE_GPLAYER, BKE_gpencil_layer_active_set(), BKE_gpencil_layer_autolock_set(), C, bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, DEG_id_tag_update(), filter(), GP_LAYER_SELECT, bAnimListElem::id, bGPdata::id, ID_RECALC_GEOMETRY, NA_EDITED, NC_GPENCIL, ND_ANIMCHAN, ND_DATA, ND_SPACE_PROPERTIES, NULL, SELECT_INVERT, and WM_event_add_notifier().
Referenced by mouse_anim_channels().
|
static |
Definition at line 3047 of file anim_channels_edit.c.
References ACHANNEL_SETFLAG_CLEAR, bAnimContext::ads, ADS_FILTER_ONLYSEL, AGRP_SELECTED, ANIM_anim_channels_select_set(), ANIM_set_active_channel(), ANIMTYPE_GROUP, BKE_pose_channel_find_name(), bActionGroup::channels, bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, ED_pose_bone_select(), ED_pose_deselect_all(), FCURVE_SELECTED, filter(), bDopeSheet::filterflag, ListBase::first, bActionGroup::flag, FCurve::flag, FCurve::grp, GS, bAnimListElem::id, ID_OB, if(), NA_SELECTED, bActionGroup::name, ID::name, ND_ANIMCHAN, FCurve::next, NULL, OB_ARMATURE, SEL_DESELECT, and SELECT_INVERT.
Referenced by mouse_anim_channels().
|
static |
Definition at line 3236 of file anim_channels_edit.c.
References bAnimListElem::data, mask(), MASK_ANIMF_EXPAND, NA_EDITED, ND_ANIMCHAN, and return().
Referenced by mouse_anim_channels().
|
static |
Definition at line 3249 of file anim_channels_edit.c.
References ACHANNEL_SETFLAG_CLEAR, ANIM_anim_channels_select_set(), bAnimListElem::data, MaskLayer::flag, if(), MASK_LAYERFLAG_SELECT, NA_EDITED, ND_ANIMCHAN, and SELECT_INVERT.
Referenced by mouse_anim_channels().
|
static |
Definition at line 3175 of file anim_channels_edit.c.
References ADT_NLA_SKEYS_COLLAPSED, bAnimListElem::data, AnimData::flag, NA_EDITED, ND_ANIMCHAN, and return().
Referenced by mouse_anim_channels().
|
static |
Definition at line 2966 of file anim_channels_edit.c.
References ADT_UI_ACTIVE, ADT_UI_SELECTED, usdtokens::b(), BA_DESELECT, BA_INVERT, BA_SELECT, BASE_SELECTABLE, C, bAnimListElem::data, ED_object_base_activate_with_mode_exit_if_needed(), ED_object_base_select(), ListBase::first, Base::flag, if(), NA_SELECTED, ND_ANIMCHAN, Base::object, ViewLayer::object_bases, SELECT_INVERT, and bAnimContext::view_layer.
Referenced by mouse_anim_channels().
|
static |
Definition at line 2943 of file anim_channels_edit.c.
References Scene::adt, ADT_UI_SELECTED, bAnimListElem::data, Scene::flag, if(), NA_SELECTED, ND_ANIMCHAN, SCE_DS_SELECTED, and SELECT_INVERT.
Referenced by mouse_anim_channels().
|
static |
Definition at line 3155 of file anim_channels_edit.c.
References ACHANNEL_SETFLAG_CLEAR, ANIM_anim_channels_select_set(), bAnimListElem::data, KeyBlock::flag, if(), KEYBLOCK_SEL, NA_SELECTED, ND_ANIMCHAN, and SELECT_INVERT.
Referenced by mouse_anim_channels().
void ED_keymap_animchannels | ( | wmKeyConfig * | keyconf | ) |
Definition at line 3615 of file anim_channels_edit.c.
References WM_keymap_ensure().
Referenced by ED_spacetypes_keymap().
Definition at line 3581 of file anim_channels_edit.c.
References ANIM_OT_channel_select_keys(), ANIM_OT_channels_clean_empty(), ANIM_OT_channels_click(), ANIM_OT_channels_collapse(), ANIM_OT_channels_delete(), ANIM_OT_channels_editable_toggle(), ANIM_OT_channels_expand(), ANIM_OT_channels_fcurves_enable(), ANIM_OT_channels_group(), ANIM_OT_channels_move(), ANIM_OT_channels_rename(), ANIM_OT_channels_select_all(), ANIM_OT_channels_select_box(), ANIM_OT_channels_select_filter(), ANIM_OT_channels_setting_disable(), ANIM_OT_channels_setting_enable(), ANIM_OT_channels_setting_toggle(), ANIM_OT_channels_ungroup(), and WM_operatortype_append().
Referenced by ED_spacetypes_init().
Definition at line 1298 of file anim_channels_edit.c.
References AGRP_MOVED, AGRP_TEMP, BLI_movelisttolist(), BLI_remlink(), bActionGroup::channels, bAction::curves, ListBase::first, bActionGroup::flag, bAction::groups, LISTBASE_FOREACH, bActionGroup::next, and NULL.
Referenced by rearrange_action_channels().
|
static |
Definition at line 3269 of file anim_channels_edit.c.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, ANIMTYPE_DSARM, ANIMTYPE_DSCACHEFILE, ANIMTYPE_DSCAM, ANIMTYPE_DSCUR, ANIMTYPE_DSGPENCIL, ANIMTYPE_DSHAIR, ANIMTYPE_DSLAM, ANIMTYPE_DSLAT, ANIMTYPE_DSLINESTYLE, ANIMTYPE_DSMAT, ANIMTYPE_DSMBALL, ANIMTYPE_DSMCLIP, ANIMTYPE_DSMESH, ANIMTYPE_DSNTREE, ANIMTYPE_DSPART, ANIMTYPE_DSPOINTCLOUD, ANIMTYPE_DSSIMULATION, ANIMTYPE_DSSKEY, ANIMTYPE_DSSPK, ANIMTYPE_DSTEX, ANIMTYPE_DSVOLUME, ANIMTYPE_DSWOR, ANIMTYPE_FCURVE, ANIMTYPE_FILLACTD, ANIMTYPE_GPDATABLOCK, ANIMTYPE_GPLAYER, ANIMTYPE_GROUP, ANIMTYPE_MASKDATABLOCK, ANIMTYPE_MASKLAYER, ANIMTYPE_NLACONTROLS, ANIMTYPE_NLACURVE, ANIMTYPE_OBJECT, ANIMTYPE_SCENE, ANIMTYPE_SHAPEKEY, blender::compositor::area(), BLI_findlink(), C, click_select_channel_dummy(), click_select_channel_fcurve(), click_select_channel_gpdatablock(), click_select_channel_gplayer(), click_select_channel_group(), click_select_channel_maskdatablock(), click_select_channel_masklayer(), click_select_channel_nlacontrols(), click_select_channel_object(), click_select_channel_scene(), click_select_channel_shapekey(), CTX_wm_area(), bAnimContext::data, bAnimContext::datatype, ELEM, filter(), G, G_DEBUG, NULL, SPACE_GRAPH, SPACE_NLA, and bAnimListElem::type.
Referenced by animchannels_mouseclick_invoke().
|
static |
Definition at line 1329 of file anim_channels_edit.c.
References ANIMTYPE_FCURVE, ANIMTYPE_GROUP, BLI_freelistN(), bActionGroup::channels, EXPANDED_AGRP, ListBase::first, bAction::groups, join_groups_action_temp(), bActionGroup::next, NULL, rearrange_animchannel_islands(), rearrange_animchannels_filter_visible(), rearrange_get_mode_func(), and split_groups_action_temp().
Referenced by animchannels_rearrange_exec().
|
static |
Definition at line 945 of file anim_channels_edit.c.
References AGRP_TEMP, ANIMTYPE_FCURVE, ANIMTYPE_GPLAYER, ANIMTYPE_GROUP, ANIMTYPE_NLACURVE, ANIMTYPE_NLATRACK, BLI_addtail(), BLI_remlink(), tReorderChannelIsland::channels, tReorderChannelIsland::flag, bActionGroup::flag, ListBase::last, MEM_callocN, NULL, REORDER_ISLAND_HIDDEN, REORDER_ISLAND_SELECTED, REORDER_ISLAND_UNTOUCHABLE, SEL_AGRP, SEL_FCU, SEL_GPL, SEL_NLT, and type.
Referenced by rearrange_animchannel_islands().
Definition at line 1021 of file anim_channels_edit.c.
References BLI_assert, BLI_freelinkN(), BLI_listbase_is_empty(), BLI_movelisttolist(), tReorderChannelIsland::channels, ListBase::first, tReorderChannelIsland::next, and NULL.
Referenced by rearrange_animchannel_islands().
|
static |
Definition at line 1075 of file anim_channels_edit.c.
References BLI_findptr(), BLI_listbase_is_empty(), data, ListBase::first, tReorderChannelIsland::flag, if(), ListBase::last, tReorderChannelIsland::next, Link::next, NULL, tReorderChannelIsland::prev, rearrange_animchannel_add_to_islands(), rearrange_animchannel_flatten_islands(), REORDER_ISLAND_MOVED, and type.
Referenced by rearrange_action_channels(), rearrange_driver_channels(), rearrange_gpencil_channels(), rearrange_nla_channels(), and rearrange_nla_control_channels().
|
static |
Definition at line 1041 of file anim_channels_edit.c.
References ANIM_animdata_filter(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, ANIMTYPE_NLATRACK, BKE_nlatrack_is_nonlocal_in_liboverride(), BLI_freelinkN(), bAnimContext::data, bAnimContext::datatype, filter(), if(), LISTBASE_FOREACH_MUTABLE, NULL, and type.
Referenced by rearrange_action_channels(), rearrange_driver_channels(), rearrange_gpencil_channels(), rearrange_nla_channels(), and rearrange_nla_control_channels().
|
static |
Definition at line 1196 of file anim_channels_edit.c.
References ANIMTYPE_FCURVE, BLI_freelistN(), AnimData::drivers, EXPANDED_DRVD, NULL, rearrange_animchannel_islands(), rearrange_animchannels_filter_visible(), and rearrange_get_mode_func().
Referenced by animchannels_rearrange_exec().
|
static |
Definition at line 909 of file anim_channels_edit.c.
References NULL, REARRANGE_ANIMCHAN_BOTTOM, REARRANGE_ANIMCHAN_DOWN, REARRANGE_ANIMCHAN_TOP, REARRANGE_ANIMCHAN_UP, rearrange_island_bottom(), rearrange_island_down(), rearrange_island_top(), and rearrange_island_up().
Referenced by rearrange_action_channels(), rearrange_driver_channels(), rearrange_nla_channels(), and rearrange_nla_control_channels().
|
static |
Definition at line 1421 of file anim_channels_edit.c.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMFILTER_ANIMDATA, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_LIST_VISIBLE, ANIMTYPE_GPDATABLOCK, ANIMTYPE_GPLAYER, BLI_assert, BLI_freelistN(), bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, DEG_id_tag_update(), filter(), ListBase::first, bGPdata::flag, GP_DATA_EXPAND, bGPdata::id, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, bGPdata::layers, NA_EDITED, NC_GPENCIL, ND_DATA, bAnimListElem::next, NULL, rearrange_animchannel_islands(), rearrange_animchannels_filter_visible(), rearrange_gpencil_get_mode_func(), bAnimListElem::type, and WM_main_add_notifier().
Referenced by animchannels_rearrange_exec().
|
static |
Definition at line 926 of file anim_channels_edit.c.
References NULL, REARRANGE_ANIMCHAN_BOTTOM, REARRANGE_ANIMCHAN_DOWN, REARRANGE_ANIMCHAN_TOP, REARRANGE_ANIMCHAN_UP, rearrange_island_bottom(), rearrange_island_down(), rearrange_island_top(), and rearrange_island_up().
Referenced by rearrange_gpencil_channels().
|
static |
Definition at line 873 of file anim_channels_edit.c.
References BLI_addtail(), BLI_insertlinkbefore(), BLI_remlink(), tReorderChannelIsland::flag, ListBase::last, rearrange_island_ok(), and REORDER_ISLAND_UNTOUCHABLE.
Referenced by rearrange_get_mode_func(), and rearrange_gpencil_get_mode_func().
|
static |
Definition at line 844 of file anim_channels_edit.c.
References BLI_insertlinkafter(), BLI_remlink(), tReorderChannelIsland::next, next, rearrange_island_ok(), REORDER_ISLAND_HIDDEN, and REORDER_ISLAND_UNTOUCHABLE.
Referenced by rearrange_get_mode_func(), and rearrange_gpencil_get_mode_func().
|
static |
Definition at line 791 of file anim_channels_edit.c.
References tReorderChannelIsland::flag, REORDER_ISLAND_MOVED, REORDER_ISLAND_SELECTED, and REORDER_ISLAND_UNTOUCHABLE.
Referenced by rearrange_island_bottom(), rearrange_island_down(), rearrange_island_top(), and rearrange_island_up().
|
static |
Definition at line 804 of file anim_channels_edit.c.
References BLI_insertlinkbefore(), BLI_remlink(), ListBase::first, and rearrange_island_ok().
Referenced by rearrange_get_mode_func(), and rearrange_gpencil_get_mode_func().
|
static |
Definition at line 819 of file anim_channels_edit.c.
References BLI_insertlinkbefore(), BLI_remlink(), blender::meshintersect::prev(), tReorderChannelIsland::prev, rearrange_island_ok(), and REORDER_ISLAND_HIDDEN.
Referenced by rearrange_get_mode_func(), and rearrange_gpencil_get_mode_func().
|
static |
Definition at line 1134 of file anim_channels_edit.c.
References ANIMTYPE_NLATRACK, BKE_nlatrack_is_nonlocal_in_liboverride(), BLI_assert, BLI_freelistN(), BLI_listbase_is_empty(), ListBase::first, Object::id, ID_IS_OVERRIDE_LIBRARY, ListBase::last, NlaTrack::next, AnimData::nla_tracks, NULL, bAnimContext::obact, NlaTrack::prev, rearrange_animchannel_islands(), rearrange_animchannels_filter_visible(), and rearrange_get_mode_func().
Referenced by animchannels_rearrange_exec().
|
static |
Definition at line 1383 of file anim_channels_edit.c.
References ADT_NLA_SKEYS_COLLAPSED, ANIMTYPE_NLACURVE, BLI_freelistN(), NlaStrip::fcurves, ListBase::first, AnimData::flag, NlaStrip::next, NlaTrack::next, AnimData::nla_tracks, NULL, rearrange_animchannel_islands(), rearrange_animchannels_filter_visible(), rearrange_get_mode_func(), and NlaTrack::strips.
Referenced by animchannels_rearrange_exec().
|
static |
Definition at line 2782 of file anim_channels_edit.c.
References bAnimContext::ads, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_channel_get_typeinfo(), ANIMCONT_FCURVES, ANIMCONT_NLA, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, ANIMTYPE_NLATRACK, BLI_findlink(), bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, ED_region_tag_redraw(), ELEM, bAnimListElem::fcurve_owner_id, filter(), NlaTrack::flag, G, G_DEBUG, bAnimListElem::id, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY, if(), bAnimChannelType::name_prop, NLATRACK_OVERRIDELIBRARY_LOCAL, NULL, ptr, bAnimContext::region, bDopeSheet::renameIndex, and bAnimListElem::type.
Referenced by animchannels_rename_invoke().
|
static |
Definition at line 3467 of file anim_channels_edit.c.
References ALE_FCURVE, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, FCurve::bezt, BLI_findlink(), bAnimContext::data, bAnimContext::datatype, bAnimListElem::datatype, ED_region_tag_redraw(), BezTriple::f1, BezTriple::f2, BezTriple::f3, filter(), ListBase::first, G, G_DEBUG, if(), bAnimListElem::key_data, bAnimListElem::next, NULL, bAnimContext::region, and SELECT.
Referenced by animchannels_channel_select_keys_invoke().
|
static |
Definition at line 217 of file anim_channels_edit.c.
References bAnimContext::ads, ADS_FILTER_ONLYSEL, AGRP_SELECTED, BKE_pose_channel_find_name(), ED_pose_bone_select(), bDopeSheet::filterflag, bActionGroup::flag, GS, bAnimListElem::id, ID_OB, if(), bActionGroup::name, ID::name, OB_ARMATURE, Object::pose, and Object::type.
Referenced by anim_channels_select_set(), and box_select_anim_channels().
|
static |
Set/clear a particular flag (setting) for all selected + visible channels
setting | the setting to modify. |
mode | eAnimChannels_SetFlag. |
onlysel | only selected channels get the flag set. |
TODO: enable a setting which turns flushing on/off?
Definition at line 2019 of file anim_channels_edit.c.
References ACHANNEL_SETFLAG_ADD, ACHANNEL_SETFLAG_CLEAR, ACHANNEL_SETFLAG_TOGGLE, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_channel_setting_get(), ANIM_channel_setting_set(), ANIM_flush_setting_anim_channels(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, BLI_freelistN(), bAnimContext::data, bAnimContext::datatype, filter(), ListBase::first, bAnimListElem::next, NULL, bAnimContext::regiontype, RGN_TYPE_CHANNELS, SPACE_GRAPH, bAnimContext::spacetype, and tag_update_animation_element().
Referenced by animchannels_collapse_exec(), animchannels_expand_exec(), and animchannels_setflag_exec().
|
static |
Definition at line 1227 of file anim_channels_edit.c.
References AGRP_EXPANDED, AGRP_TEMP, BLI_addtail(), BLI_assert, BLI_strncpy(), bActionGroup::channels, bAction::curves, ListBase::first, bActionGroup::flag, bAction::groups, FCurve::grp, ListBase::last, LISTBASE_FOREACH, bActionGroup::name, FCurve::next, NULL, and FCurve::prev.
Referenced by rearrange_action_channels().
|
static |
Definition at line 1810 of file anim_channels_edit.c.
References AnimData::action, BKE_animdata_from_id(), DEG_id_tag_update(), bAnimListElem::id, bAction::id, ID_RECALC_ANIMATION, and NULL.
Referenced by animchannels_delete_exec(), and setflag_anim_channels().
|
static |
Definition at line 763 of file anim_channels_edit.c.
Referenced by ANIM_OT_channels_move().
|
static |
Definition at line 1993 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().
|
static |
Definition at line 2003 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().