|
Blender V4.5
|
#include <cstring>#include "DNA_anim_types.h"#include "DNA_armature_types.h"#include "DNA_cachefile_types.h"#include "DNA_camera_types.h"#include "DNA_curves_types.h"#include "DNA_gpencil_legacy_types.h"#include "DNA_grease_pencil_types.h"#include "DNA_key_types.h"#include "DNA_lattice_types.h"#include "DNA_layer_types.h"#include "DNA_light_types.h"#include "DNA_lightprobe_types.h"#include "DNA_linestyle_types.h"#include "DNA_mask_types.h"#include "DNA_material_types.h"#include "DNA_mesh_types.h"#include "DNA_meta_types.h"#include "DNA_movieclip_types.h"#include "DNA_node_types.h"#include "DNA_object_force_types.h"#include "DNA_object_types.h"#include "DNA_particle_types.h"#include "DNA_pointcloud_types.h"#include "DNA_scene_types.h"#include "DNA_screen_types.h"#include "DNA_sequence_types.h"#include "DNA_space_types.h"#include "DNA_speaker_types.h"#include "DNA_userdef_types.h"#include "DNA_volume_types.h"#include "DNA_world_types.h"#include "MEM_guardedalloc.h"#include "BLI_alloca.h"#include "BLI_ghash.h"#include "BLI_listbase.h"#include "BLI_string.h"#include "BLI_utildefines.h"#include "BKE_action.hh"#include "BKE_anim_data.hh"#include "BKE_collection.hh"#include "BKE_context.hh"#include "BKE_fcurve.hh"#include "BKE_fcurve_driver.h"#include "BKE_global.hh"#include "BKE_grease_pencil.hh"#include "BKE_key.hh"#include "BKE_layer.hh"#include "BKE_library.hh"#include "BKE_main.hh"#include "BKE_mask.h"#include "BKE_material.hh"#include "BKE_modifier.hh"#include "BKE_node.hh"#include "BKE_node_runtime.hh"#include "ED_anim_api.hh"#include "ED_markers.hh"#include "SEQ_sequencer.hh"#include "SEQ_utils.hh"#include "ANIM_action.hh"#include "ANIM_armature.hh"#include "ANIM_bone_collections.hh"#include "anim_intern.hh"Go to the source code of this file.
Classes | |
| struct | tAnimFilterModifiersContext |
Macros | |
| #define | BEGIN_ANIMFILTER_SUBCHANNELS(expanded_check) |
| #define | END_ANIMFILTER_SUBCHANNELS |
| #define | ANIMDATA_HAS_ACTION_LEGACY(id) |
| #define | ANIMDATA_HAS_ACTION_LAYERED(id) |
| #define | ANIMDATA_HAS_DRIVERS(id) |
| #define | ANIMDATA_HAS_NLA(id) |
| #define | ANIMDATA_FILTER_CASES(id, adtOk, nlaOk, driversOk, nlaKeysOk, legacyActionOk, layeredActionOk) |
| #define | ANIMCHANNEL_NEW_CHANNEL_FULL(bmain, channel_data, channel_type, owner_id, fcurve_owner_id, ale_statement) |
| #define | ANIMCHANNEL_NEW_CHANNEL(bmain, channel_data, channel_type, owner_id, fcurve_owner_id) |
| #define | ANIMCHANNEL_ACTIVEOK(ale) |
| #define | ANIMCHANNEL_SELOK(test_func) |
| #define | ANIMCHANNEL_SELEDITOK(test_func) |
| #define ANIMCHANNEL_ACTIVEOK | ( | ale | ) |
Definition at line 568 of file anim_filter.cc.
Referenced by animdata_filter_dopesheet_ob(), animdata_filter_ds_cachefile(), animdata_filter_ds_gpencil(), animdata_filter_ds_keyanim(), animdata_filter_ds_linestyle(), animdata_filter_ds_material(), animdata_filter_ds_movieclip(), animdata_filter_ds_nodetree_group(), animdata_filter_ds_obdata(), animdata_filter_ds_particles(), animdata_filter_ds_texture(), and animdata_filter_ds_world().
| #define ANIMCHANNEL_NEW_CHANNEL | ( | bmain, | |
| channel_data, | |||
| channel_type, | |||
| owner_id, | |||
| fcurve_owner_id ) |
Definition at line 562 of file anim_filter.cc.
Referenced by ANIM_animdata_filter(), ANIM_animfilter_action_slot(), animdata_filter_dopesheet_ob(), animdata_filter_dopesheet_scene(), animdata_filter_ds_cachefile(), animdata_filter_ds_gpencil(), animdata_filter_ds_keyanim(), animdata_filter_ds_linestyle(), animdata_filter_ds_material(), animdata_filter_ds_movieclip(), animdata_filter_ds_nodetree_group(), animdata_filter_ds_obanim(), animdata_filter_ds_obdata(), animdata_filter_ds_particles(), animdata_filter_ds_scene(), animdata_filter_ds_texture(), animdata_filter_ds_world(), animdata_filter_gpencil_layers_data_legacy(), animdata_filter_grease_pencil_data(), animdata_filter_grease_pencil_layer(), animdata_filter_grease_pencil_layer_node_recursive(), animdata_filter_mask(), animdata_filter_mask_data(), animdata_filter_shapekey(), animfilter_act_group(), animfilter_block_data(), animfilter_fcurves(), animfilter_nla(), and animfilter_nla_controls().
| #define ANIMCHANNEL_NEW_CHANNEL_FULL | ( | bmain, | |
| channel_data, | |||
| channel_type, | |||
| owner_id, | |||
| fcurve_owner_id, | |||
| ale_statement ) |
Add a new animation channel, taking into account the "peek" flag, which is used to just check whether any channels will be added (but without needing them to actually get created).
Definition at line 546 of file anim_filter.cc.
Referenced by animfilter_act_group(), animfilter_fcurves(), and animfilter_nla().
| #define ANIMCHANNEL_SELEDITOK | ( | test_func | ) |
Quick macro to test if an anim-channel (F-Curve) is selected ok for editing purposes
checks here work as follows: 1) SELEDIT off - don't need to consider the implications of this option. 2) FOREDIT off - we're not considering editing, so channel is ok still. 3) test_func (i.e. selection test) - only if selected, this test will pass.
Definition at line 587 of file anim_filter.cc.
Referenced by animfilter_fcurve_next().
| #define ANIMCHANNEL_SELOK | ( | test_func | ) |
Definition at line 573 of file anim_filter.cc.
Referenced by animdata_filter_dopesheet_ob(), animdata_filter_dopesheet_scene(), animdata_filter_gpencil_layers_data_legacy(), animdata_filter_grease_pencil_layer(), animdata_filter_mask_data(), animdata_filter_shapekey(), animfilter_act_group(), animfilter_block_data(), animfilter_fcurve_next(), and animfilter_nla().
| #define ANIMDATA_FILTER_CASES | ( | id, | |
| adtOk, | |||
| nlaOk, | |||
| driversOk, | |||
| nlaKeysOk, | |||
| legacyActionOk, | |||
| layeredActionOk ) |
Quick macro to test for all three above usability tests, performing the appropriate provided action for each when the AnimData context is appropriate.
Priority order for this goes (most important, to least): AnimData blocks, NLA, Drivers, Keyframes.
For this to work correctly, a standard set of data needs to be available within the scope that this
Gets called in:
The checks for the various cases are as follows: 0) top level: checks for animdata and also that all the F-Curves for the block will be visible 1) animdata check: for filtering animdata blocks only 2A) nla tracks: include animdata block's data as there are NLA tracks+strips there 2B) actions to convert to nla: include animdata block's data as there is an action that can be converted to a new NLA strip, and the filtering options allow this 2C) allow non-animated data-blocks to be included so that data-blocks can be added 3) drivers: include drivers from animdata block (for Drivers mode in Graph Editor) 4A) nla strip keyframes: these are the per-strip controls for time and influence 4B) normal keyframes: only when there is an active action 4C) normal keyframes: only when there is an Animation assigned
Definition at line 498 of file anim_filter.cc.
Referenced by animdata_filter_ds_obanim(), animdata_filter_ds_scene(), and animfilter_block_data().
| #define ANIMDATA_HAS_ACTION_LAYERED | ( | id | ) |
Definition at line 452 of file anim_filter.cc.
| #define ANIMDATA_HAS_ACTION_LEGACY | ( | id | ) |
Definition at line 449 of file anim_filter.cc.
| #define ANIMDATA_HAS_DRIVERS | ( | id | ) |
Definition at line 456 of file anim_filter.cc.
| #define ANIMDATA_HAS_NLA | ( | id | ) |
Definition at line 459 of file anim_filter.cc.
| #define BEGIN_ANIMFILTER_SUBCHANNELS | ( | expanded_check | ) |
Definition at line 423 of file anim_filter.cc.
Referenced by animdata_filter_dopesheet_ob(), animdata_filter_dopesheet_scene(), animdata_filter_ds_cachefile(), animdata_filter_ds_gpencil(), animdata_filter_ds_keyanim(), animdata_filter_ds_linestyle(), animdata_filter_ds_material(), animdata_filter_ds_movieclip(), animdata_filter_ds_nodetree_group(), animdata_filter_ds_obanim(), animdata_filter_ds_obdata(), animdata_filter_ds_particles(), animdata_filter_ds_scene(), animdata_filter_ds_texture(), animdata_filter_ds_world(), animdata_filter_grease_pencil_data(), animdata_filter_grease_pencil_layer_node_recursive(), animdata_filter_mask(), animfilter_act_group(), and animfilter_nla_controls().
| #define END_ANIMFILTER_SUBCHANNELS |
Definition at line 441 of file anim_filter.cc.
Referenced by animdata_filter_dopesheet_ob(), animdata_filter_dopesheet_scene(), animdata_filter_ds_cachefile(), animdata_filter_ds_gpencil(), animdata_filter_ds_keyanim(), animdata_filter_ds_linestyle(), animdata_filter_ds_material(), animdata_filter_ds_movieclip(), animdata_filter_ds_nodetree_group(), animdata_filter_ds_obanim(), animdata_filter_ds_obdata(), animdata_filter_ds_particles(), animdata_filter_ds_scene(), animdata_filter_ds_texture(), animdata_filter_ds_world(), animdata_filter_grease_pencil_data(), animdata_filter_grease_pencil_layer_node_recursive(), animdata_filter_mask(), animfilter_act_group(), and animfilter_nla_controls().
|
static |
Definition at line 129 of file anim_filter.cc.
References actedit_get_shapekeys(), AnimData::action, SpaceAction::action, bAnimContext::ads, SpaceAction::ads, ADS_FILTER_ONLYSEL, Key::adt, Object::adt, ANIMCONT_ACTION, ANIMCONT_CHANNEL, ANIMCONT_DOPESHEET, ANIMCONT_GPENCIL, ANIMCONT_MASK, ANIMCONT_NONE, ANIMCONT_SHAPEKEY, ANIMCONT_TIMELINE, Scene::clip, bAnimContext::data, bAnimContext::datatype, bAnimContext::dopesheet_mode, bDopeSheet::filterflag, Scene::flag, mask(), Strip::mask, SpaceAction::mode, bAnimContext::obact, SACTCONT_ACTION, SACTCONT_CACHEFILE, SACTCONT_DOPESHEET, SACTCONT_GPENCIL, SACTCONT_MASK, SACTCONT_SHAPEKEY, SACTCONT_TIMELINE, SCE_KEYS_NO_SELONLY, bAnimContext::scene, and bDopeSheet::source.
Referenced by ANIM_animdata_context_getdata().
|
static |
Definition at line 109 of file anim_filter.cc.
References BKE_key_from_object(), BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), bAnimContext::scene, and bAnimContext::view_layer.
Referenced by actedit_get_context().
|
static |
Definition at line 1144 of file anim_filter.cc.
References ANIM_CHAN_NAME_SIZE, ANIM_channel_get_typeinfo(), BLI_assert_unreachable, bAnimChannelType::name, and name_matches_dopesheet_filter().
Referenced by animfilter_fcurves_span().
| bool ANIM_animdata_can_have_greasepencil | ( | const eAnimCont_Types | type | ) |
Check if the given animation container can contain grease pencil layer keyframes.
Definition at line 397 of file anim_filter.cc.
References ANIMCONT_DOPESHEET, ANIMCONT_GPENCIL, ANIMCONT_TIMELINE, and ELEM.
Referenced by action_circle_select_exec(), actkeys_box_select_exec(), actkeys_columnselect_exec(), actkeys_deselectall_exec(), actkeys_lassoselect_exec(), actkeys_select_less_exec(), actkeys_select_linked_exec(), and actkeys_select_more_exec().
| bool ANIM_animdata_context_getdata | ( | bAnimContext * | ac | ) |
Obtain current anim-data context, given that context info from Blender context has already been set:
Definition at line 313 of file anim_filter.cc.
References actedit_get_context(), bAnimContext::data, graphedit_get_context(), nlaedit_get_context(), bAnimContext::sl, SPACE_ACTION, SPACE_CLIP, SPACE_CONSOLE, SPACE_EMPTY, SPACE_FILE, SPACE_GRAPH, SPACE_IMAGE, SPACE_INFO, SPACE_NLA, SPACE_NODE, SPACE_OUTLINER, SPACE_PROPERTIES, SPACE_SCRIPT, SPACE_SEQ, SPACE_SPREADSHEET, SPACE_STATUSBAR, SPACE_TEXT, SPACE_TOPBAR, SPACE_USERPREF, SPACE_VIEW3D, and bAnimContext::spacetype.
Referenced by ANIM_animdata_get_context(), blender::ed::transform::recalcData_actedit(), and blender::ed::transform::recalcData_graphedit().
| size_t ANIM_animdata_filter | ( | bAnimContext * | ac, |
| ListBase * | anim_data, | ||
| eAnimFilter_Flags | filter_mode, | ||
| void * | data, | ||
| eAnimCont_Types | datatype ) |
This function filters the active data source to leave only animation channels suitable for usage by the caller. It will return the length of the list
| anim_data | Is a pointer to a ListBase, to which the filtered animation channels will be placed for use. |
| filter_mode | how should the data be filtered - bit-mapping accessed flags. |
Definition at line 3916 of file anim_filter.cc.
References AnimData::action, bAnimContext::ads, SpaceAction::ads, Key::adt, Object::adt, ANIMCHANNEL_NEW_CHANNEL, ANIMCONT_ACTION, ANIMCONT_CHANNEL, ANIMCONT_DOPESHEET, ANIMCONT_DRIVERS, ANIMCONT_FCURVES, ANIMCONT_GPENCIL, ANIMCONT_MASK, ANIMCONT_NLA, ANIMCONT_NONE, ANIMCONT_SHAPEKEY, ANIMCONT_TIMELINE, animdata_filter_animchan(), animdata_filter_dopesheet(), animdata_filter_dopesheet_summary(), animdata_filter_grease_pencil(), animdata_filter_mask(), animdata_filter_remove_duplis(), animdata_filter_remove_invalid(), animdata_filter_shapekey(), animfilter_action(), ANIMFILTER_ANIMDATA, ANIMFILTER_NODUPLIS, ANIMTYPE_ANIMDATA, BLI_assert, BLI_assert_msg, bAnimContext::bmain, data, LIKELY, bAnimContext::obact, printf, bAnimContext::sl, AnimData::slot_handle, UNLIKELY, UNUSED_VARS_NDEBUG, and wrap().
Referenced by achannel_setting_flush_widget_cb(), action_channel_region_draw(), action_main_region_draw(), actkeys_channels_get_selected_extents(), actkeys_find_list_element_at_position(), actkeys_framejump_exec(), actkeys_mselect_channel_only(), actkeys_mselect_column(), actkeys_mselect_single(), actkeys_select_leftright(), actkeys_select_linked_exec(), ANIM_animdata_keyframe_callback(), anim_channels_for_selection(), ANIM_deselect_keys_in_animation_editors(), ANIM_editkeyframes_refresh(), ANIM_frame_channel_y_extents(), ANIM_set_active_channel(), ANIM_sync_animchannels_to_data(), animchannels_clean_empty_exec(), animchannels_delete_containers(), animchannels_delete_exec(), animchannels_enable_exec(), animchannels_group_channels(), animchannels_group_exec(), animchannels_rearrange_exec(), animchannels_ungroup_exec(), append_nla_strip_snap_target(), apply_fcu_segment_function(), bake_action_keys(), bake_graph_keys(), blend_to_default_graph_keys(), box_select_action(), box_select_anim_channels(), box_select_elem(), box_select_nla_strips(), btw_smooth_allocate_operator_data(), btw_smooth_graph_keys(), cachefile_to_keylist(), channels_bake_exec(), clean_action_keys(), clean_graph_keys(), columnselect_action_keys(), columnselect_graph_keys(), convert_keys_to_samples(), convert_samples_to_keys(), copy_action_keys(), copy_graph_keys(), count_fcurves_hidden_by_filter(), create_ghost_curves(), blender::ed::transform::createTransActionData(), blender::ed::transform::createTransGraphEditData(), blender::ed::transform::createTransNlaData(), debug_channel_list_exec(), decimate_graph_keys(), delete_action_keys(), delete_graph_keys(), deselect_action_keys(), deselect_all_fcurves(), deselect_graph_keys(), deselect_nla_strips(), draw_nla_main_data(), duplicate_action_keys(), duplicate_graph_keys(), ease_graph_keys(), ED_gpencil_anim_copybuf_copy(), ED_gpencil_anim_copybuf_paste(), ED_nla_postop_refresh(), ensure_change_frame_keylist(), equalize_graph_keys(), gaussian_smooth_allocate_operator_data(), gaussian_smooth_graph_keys(), get_active_fcurve_channel(), blender::ed::graph::get_editable_fcurves(), get_graph_keyframe_extents(), get_keyframe_extents(), get_nearest_fcurve_verts_list(), get_nlastrip_extents(), graph_channel_region_draw(), graph_draw_curves(), graph_driver_delete_invalid_exec(), graph_fmodifier_add_exec(), graph_fmodifier_paste_exec(), graph_has_selected_control_points(), graph_refresh_fcurve_colors(), graphkeys_channel_view_pick_invoke(), graphkeys_euler_filter_exec(), graphkeys_mselect_column(), graphkeys_select_key_handles(), graphkeys_select_leftright(), graphkeys_select_linked_exec(), graphkeys_smooth_exec(), graphkeys_view_selected_channels_exec(), graphop_editable_keyframes_poll(), graphop_selected_fcurve_poll(), graphop_visible_keyframes_poll(), graphview_curves_hide_exec(), graphview_curves_reveal_exec(), blender::ed::greasepencil::grease_pencil_copy_keyframes(), blender::ed::greasepencil::grease_pencil_paste_keyframes(), initialize_box_select_anim_data(), insert_action_keys(), insert_graph_keys(), markers_selectkeys_between(), markers_selectkeys_between(), match_slope_graph_keys(), mirror_action_keys(), mirror_graph_keys(), mouse_anim_channels(), mouse_nla_tracks(), nla_fmodifier_add_exec(), nla_fmodifier_copy_exec(), nla_fmodifier_paste_exec(), nla_panel_context(), nla_track_region_draw(), nla_tracks_get_selected_extents(), nlaedit_add_meta_exec(), nlaedit_add_sound_exec(), nlaedit_add_tracks_empty(), nlaedit_add_tracks_existing(), nlaedit_add_transition_exec(), nlaedit_apply_scale_exec(), nlaedit_clear_scale_exec(), nlaedit_delete_exec(), nlaedit_delete_tracks_exec(), nlaedit_disable_tweakmode(), nlaedit_duplicate_exec(), nlaedit_enable_tweakmode_exec(), nlaedit_get_editable_tracks(), nlaedit_make_single_user_exec(), nlaedit_move_down_exec(), nlaedit_move_up_exec(), nlaedit_remove_meta_exec(), nlaedit_select_leftright(), nlaedit_snap_exec(), nlaedit_split_exec(), nlaedit_strip_at_region_position(), nlaedit_swap_exec(), nlaedit_sync_actlen_exec(), nlaedit_toggle_mute_exec(), blender::ed::transform::nlatrack_truncate_temporary_tracks(), nlatracks_pushdown_exec(), ob_keyframes_loop(), ob_to_keylist(), paste_action_keys(), paste_graph_keys(), blender::ed::transform::posttrans_action_clean(), rearrange_animchannels_filter_visible(), rearrange_gpencil_channels(), rearrange_grease_pencil_channels(), blender::ed::transform::recalcData_actedit(), blender::ed::transform::recalcData_graphedit(), region_select_action_keys(), region_select_elem(), rename_anim_channels(), reset_bezts(), scale_from_neighbor_graph_keys(), scene_keyframes_loop(), scene_to_keylist(), screen_ctx_active_editable_fcurve(), screen_ctx_sel_actions_impl(), screen_ctx_sel_edit_fcurves_(), screen_ctx_selected_editable_keyframes(), screen_ctx_selected_nla_strips(), select_anim_channel_keys(), select_moreless_action_keys(), select_moreless_graph_keys(), seteasing_graph_keys(), setexpo_action_keys(), setexpo_graph_keys(), setflag_anim_channels(), sethandles_action_keys(), sethandles_graph_keys(), setipo_graph_keys(), setkeytype_action_keys(), shear_graph_keys(), slot_channels_move_to_new_action_exec(), snap_action_keys(), snap_graph_keys(), blender::ed::transform::special_aftertrans_update__actedit(), blender::ed::transform::special_aftertrans_update__graph(), blender::ed::transform::special_aftertrans_update__nla(), store_original_bezt_arrays(), sum_selected_keyframes(), summary_keyframes_loop(), summary_to_keylist(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), and update_depsgraph().
| bool ANIM_animdata_get_context | ( | const bContext * | C, |
| bAnimContext * | ac ) |
Obtain current anim-data context from Blender Context info
Definition at line 361 of file anim_filter.cc.
References ANIM_animdata_context_getdata(), bAnimContext::area, BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), bAnimContext::bmain, C, CTX_data_depsgraph_pointer(), CTX_data_main(), CTX_data_scene(), CTX_data_view_layer(), CTX_wm_area(), CTX_wm_region(), CTX_wm_space_data(), bAnimContext::depsgraph, ED_context_get_markers(), bAnimContext::markers, bAnimContext::obact, bAnimContext::region, ARegion::regiontype, bAnimContext::regiontype, bAnimContext::scene, bAnimContext::sl, bAnimContext::spacetype, ScrArea::spacetype, and bAnimContext::view_layer.
Referenced by achannel_setting_flush_widget_cb(), action_channel_region_draw(), action_circle_select_exec(), action_header_region_draw(), action_main_region_draw(), actkeys_bake_exec(), actkeys_box_select_exec(), actkeys_box_select_invoke(), actkeys_clean_exec(), actkeys_clickselect_exec(), actkeys_columnselect_exec(), actkeys_copy_exec(), actkeys_delete_exec(), actkeys_deselectall_exec(), actkeys_duplicate_exec(), actkeys_easing_exec(), actkeys_expo_exec(), actkeys_framejump_exec(), actkeys_handletype_exec(), actkeys_insertkey_exec(), actkeys_ipo_exec(), actkeys_keytype_exec(), actkeys_lassoselect_exec(), actkeys_mirror_exec(), actkeys_paste_exec(), actkeys_previewrange_exec(), actkeys_select_leftright_exec(), actkeys_select_leftright_invoke(), actkeys_select_less_exec(), actkeys_select_linked_exec(), actkeys_select_more_exec(), actkeys_snap_exec(), actkeys_viewall(), ANIM_deselect_keys_in_animation_editors(), ANIM_sync_animchannels_to_data(), animchannels_box_select_exec(), animchannels_channel_select_keys_invoke(), animchannels_clean_empty_exec(), animchannels_collapse_exec(), animchannels_delete_exec(), animchannels_enable_exec(), animchannels_expand_exec(), animchannels_group_exec(), animchannels_mouseclick_invoke(), animchannels_rearrange_exec(), animchannels_rename_invoke(), animchannels_select_filter_modal(), animchannels_selectall_exec(), animchannels_setflag_exec(), animchannels_ungroup_exec(), append_nla_strip_snap_target(), blend_offset_exec(), blend_to_default_exec(), blend_to_ease_exec(), blend_to_neighbor_exec(), breakdown_exec(), btw_smooth_exec(), btw_smooth_modal_update(), channels_bake_exec(), blender::ed::transform::createTransActionData(), blender::ed::transform::createTransGraphEditData(), blender::ed::transform::createTransNlaData(), debug_channel_list_exec(), decimate_exec(), drivers_editor_show_exec(), ease_exec(), ed_marker_select_leftright_exec(), ensure_change_frame_keylist(), gaussian_smooth_exec(), gaussian_smooth_modal_update(), graph_channel_region_draw(), graph_circle_select_exec(), graph_driver_delete_invalid_exec(), graph_driver_delete_invalid_poll(), graph_fmodifier_add_exec(), graph_fmodifier_copy_exec(), graph_fmodifier_paste_exec(), graph_has_selected_control_points(), graph_main_region_draw(), graph_panel_context(), graph_refresh_fcurve_colors(), graph_slider_invoke(), graphkeys_bake_exec(), graphkeys_box_select_exec(), graphkeys_box_select_invoke(), graphkeys_channel_view_pick_invoke(), graphkeys_clean_exec(), graphkeys_clear_ghostcurves_exec(), graphkeys_click_insert_exec(), graphkeys_click_insert_invoke(), graphkeys_clickselect_exec(), graphkeys_columnselect_exec(), graphkeys_copy_exec(), graphkeys_create_ghostcurves_exec(), graphkeys_delete_exec(), graphkeys_deselectall_exec(), graphkeys_duplicate_exec(), graphkeys_easing_exec(), graphkeys_equalize_handles_exec(), graphkeys_euler_filter_exec(), graphkeys_expo_exec(), graphkeys_framejump_exec(), graphkeys_handletype_exec(), graphkeys_insertkey_exec(), graphkeys_ipo_exec(), graphkeys_keys_to_samples_exec(), graphkeys_lassoselect_exec(), graphkeys_mirror_exec(), graphkeys_paste_exec(), graphkeys_previewrange_exec(), graphkeys_samples_to_keys_exec(), graphkeys_select_key_handles_exec(), graphkeys_select_leftright_exec(), graphkeys_select_leftright_invoke(), graphkeys_select_less_exec(), graphkeys_select_linked_exec(), graphkeys_select_more_exec(), graphkeys_smooth_exec(), graphkeys_snap_cursor_value_exec(), graphkeys_snap_exec(), graphkeys_sound_to_samples_invoke(), graphkeys_view_selected_channels_exec(), graphkeys_viewall(), graphop_active_fcurve_poll(), graphop_editable_keyframes_poll(), graphop_selected_fcurve_poll(), graphop_visible_keyframes_poll(), graphview_curves_hide_exec(), graphview_curves_reveal_exec(), keylist_from_dopesheet(), keylist_from_graph_editor(), match_slope_exec(), nla_fmodifier_add_exec(), nla_fmodifier_copy_exec(), nla_fmodifier_paste_exec(), nla_main_region_draw(), nla_panel_context(), nla_track_region_draw(), nlaedit_add_actionclip_exec(), nlaedit_add_actionclip_invoke(), nlaedit_add_meta_exec(), nlaedit_add_sound_exec(), nlaedit_add_tracks_exec(), nlaedit_add_transition_exec(), nlaedit_apply_scale_exec(), nlaedit_box_select_exec(), nlaedit_box_select_invoke(), nlaedit_clear_scale_exec(), nlaedit_clickselect_exec(), nlaedit_delete_exec(), nlaedit_delete_tracks_exec(), nlaedit_deselectall_exec(), nlaedit_disable_tweakmode_exec(), nlaedit_duplicate_exec(), nlaedit_enable_tweakmode_exec(), nlaedit_make_single_user_exec(), nlaedit_move_down_exec(), nlaedit_move_up_exec(), nlaedit_objects_add_exec(), nlaedit_previewrange_exec(), nlaedit_remove_meta_exec(), nlaedit_select_leftright_exec(), nlaedit_select_leftright_invoke(), nlaedit_snap_exec(), nlaedit_split_exec(), nlaedit_swap_exec(), nlaedit_sync_actlen_exec(), nlaedit_toggle_mute_exec(), nlaedit_viewall(), nlatracks_mouseclick_invoke(), nlatracks_pushdown_exec(), push_pull_exec(), scale_average_exec(), scale_from_neighbor_exec(), screen_animation_region_tag_redraw(), screen_ctx_active_editable_fcurve(), screen_ctx_sel_actions_impl(), screen_ctx_sel_edit_fcurves_(), screen_ctx_selected_editable_keyframes(), screen_ctx_selected_nla_strips(), shear_exec(), slot_channels_move_to_new_action_exec(), blender::ed::transform::special_aftertrans_update__actedit(), blender::ed::transform::special_aftertrans_update__graph(), blender::ed::transform::special_aftertrans_update__nla(), time_offset_exec(), and view_curve_in_graph_editor_exec().
| size_t ANIM_animfilter_action_slot | ( | bAnimContext * | ac, |
| ListBase * | anim_data, | ||
| blender::animrig::Action & | action, | ||
| blender::animrig::Slot & | slot, | ||
| eAnimFilter_Flags | filter_mode, | ||
| ID * | animated_id ) |
Add the channel and sub-channels for an Action Slot to anim_data, filtered according to filter_mode.
| action | the action containing the slot to generate the channels for. |
| slot | the slot to generate the channels for. |
| filter_mode | the filters to use for deciding what channels get included. |
| animated_id | the particular animated ID that the slot channels are being generated for. This is needed for filtering channels based on bone selection, and also for resolving the names of animated properties. This should never be null, but it's okay(ish) if it's an ID not actually animated by the slot, in which case it will act as a fallback in case an ID actually animated by the slot can't be found. |
Definition at line 1563 of file anim_filter.cc.
References blender::animrig::action_slot_get_id_best_guess(), ANIMCHANNEL_NEW_CHANNEL, animfilter_act_group(), ANIMFILTER_ACTGROUPED, animfilter_fcurves_span(), ANIMFILTER_FOREDIT, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, ANIMFILTER_SEL, ANIMFILTER_UNSEL, ANIMTYPE_ACTION_SLOT, BLI_assert, bAnimContext::bmain, blender::animrig::Channelbag::channel_groups(), blender::animrig::channelbag_for_action_slot(), bAnimContext::dopesheet_mode, bActionGroup::fcurve_range_length, bActionGroup::fcurve_range_start, blender::animrig::Channelbag::fcurves(), ActionSlot::handle, bAction::id, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY, blender::animrig::Slot::is_expanded(), blender::animrig::Slot::is_selected(), SACTCONT_ACTION, SPACE_ACTION, and bAnimContext::spacetype.
Referenced by action_slot_summary_to_keylist(), animfilter_action(), and animfilter_action_slots().
|
static |
Definition at line 3818 of file anim_filter.cc.
References animdata_filter_dopesheet(), animdata_filter_dopesheet_ob(), animdata_filter_dopesheet_scene(), animdata_filter_ds_cachefile(), animfilter_block_data(), ANIMTYPE_ANIMDATA, ANIMTYPE_DSCACHEFILE, ANIMTYPE_OBJECT, ANIMTYPE_SCENE, ANIMTYPE_SUMMARY, bAnimListElem::data, bAnimListElem::id, printf, and bAnimListElem::type.
Referenced by ANIM_animdata_filter().
|
static |
Definition at line 3528 of file anim_filter.cc.
References bAnimContext::ads, ADS_FILTER_INCL_HIDDEN, ADS_FILTER_ONLYSEL, Object::adt, ADT_CURVES_ALWAYS_VISIBLE, ADT_CURVES_NOT_VISIBLE, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, BASE_ENABLED_AND_MAYBE_VISIBLE_IN_VIEWPORT, BASE_ENABLED_AND_VISIBLE_IN_DEFAULT_VIEWPORT, BASE_SELECTED, BKE_animdata_from_id(), BKE_collection_has_object_recursive(), Object::data, bDopeSheet::filter_grp, bDopeSheet::filterflag, AnimData::flag, Base::flag, Object::mode, OB_HIDE_VIEWPORT, OB_MODE_POSE, Base::object, and Object::visibility_flag.
Referenced by animdata_filter_dopesheet(), and animdata_filter_ds_sorted_bases().
|
static |
Definition at line 3662 of file anim_filter.cc.
References bAnimContext::ads, ADS_FILTER_NOCACHEFILES, ADS_FILTER_NOGPENCIL, ADS_FILTER_NOMOVIECLIPS, ADS_FILTER_ONLYSEL, ADS_FILTER_SELEDIT, ADS_FLAG_NO_DB_SORT, animdata_filter_base_is_ok(), animdata_filter_dopesheet_movieclips(), animdata_filter_dopesheet_ob(), animdata_filter_dopesheet_scene(), animdata_filter_ds_cachefile(), animdata_filter_ds_gpencil(), animdata_filter_ds_sorted_bases(), ANIMFILTER_LIST_CHANNELS, ANIMFILTER_SELEDIT, BKE_view_layer_active_object_get(), BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), bAnimContext::bmain, Main::cachefiles, bDopeSheet::filterflag, bDopeSheet::filterflag2, ListBase::first, bDopeSheet::flag, G, G_DEBUG, Main::gpencils, GS, i, ID_SCE, ListBase::last, LISTBASE_FOREACH, MEM_freeN(), Object::mode, ID::name, OB_MODE_OBJECT, printf, bDopeSheet::source, and bAnimContext::view_layer.
Referenced by ANIM_animdata_filter(), and animdata_filter_animchan().
|
static |
Definition at line 3511 of file anim_filter.cc.
References animdata_filter_ds_movieclip(), bAnimContext::bmain, ID_REAL_USERS, LISTBASE_FOREACH, and Main::movieclips.
Referenced by animdata_filter_dopesheet().
|
static |
Definition at line 3231 of file anim_filter.cc.
References bAnimContext::ads, ADS_FILTER_NOGPENCIL, ADS_FILTER_NOMAT, ADS_FILTER_NOMODIFIERS, ADS_FILTER_NOOBJ, ADS_FILTER_NOPART, ADS_FILTER_NOSHAPEKEYS, ADS_FILTER_NOTEX, Key::adt, Object::adt, ANIMCHANNEL_ACTIVEOK, ANIMCHANNEL_NEW_CHANNEL, ANIMCHANNEL_SELOK, animdata_filter_ds_keyanim(), animdata_filter_ds_materials(), animdata_filter_ds_modifiers(), animdata_filter_ds_obanim(), animdata_filter_ds_obdata(), animdata_filter_ds_particles(), animdata_filter_ds_texture(), animdata_filter_grease_pencil_data(), ANIMFILTER_LIST_CHANNELS, ANIMTYPE_OBJECT, BASE_SELECTED, BEGIN_ANIMFILTER_SUBCHANNELS, BKE_key_from_object(), BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), bAnimContext::bmain, Object::data, END_ANIMFILTER_SUBCHANNELS, EXPANDED_OBJC, bDopeSheet::filterflag, ListBase::first, Base::flag, Object::id, Object::modifiers, OB_GREASE_PENCIL, Base::object, Object::particlesystem, Object::pd, PartDeflect::tex, Object::totcol, and Object::type.
Referenced by animdata_filter_animchan(), and animdata_filter_dopesheet().
|
static |
Definition at line 3418 of file anim_filter.cc.
References bAnimContext::ads, ADS_FILTER_NOLINESTYLE, ADS_FILTER_NONTREE, ADS_FILTER_NOSCE, ADS_FILTER_NOWOR, ANIMCHANNEL_NEW_CHANNEL, ANIMCHANNEL_SELOK, animdata_filter_ds_linestyle(), animdata_filter_ds_nodetree(), animdata_filter_ds_scene(), animdata_filter_ds_world(), ANIMFILTER_LIST_CHANNELS, ANIMTYPE_SCENE, BEGIN_ANIMFILTER_SUBCHANNELS, BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), bAnimContext::bmain, END_ANIMFILTER_SUBCHANNELS, EXPANDED_SCEC, bDopeSheet::filterflag, Scene::flag, Scene::nodetree, SCE_DS_SELECTED, and Scene::world.
Referenced by animdata_filter_animchan(), and animdata_filter_dopesheet().
|
static |
Definition at line 3771 of file anim_filter.cc.
References bAnimContext::ads, SpaceAction::ads, ADS_FILTER_SUMMARY, ADS_FLAG_SUMMARY_COLLAPSED, ANIMFILTER_LIST_CHANNELS, ANIMTYPE_SUMMARY, BLI_addtail(), bAnimContext::bmain, bDopeSheet::filterflag, bDopeSheet::flag, make_new_animlistelem(), bAnimContext::sl, SPACE_ACTION, and bAnimContext::spacetype.
Referenced by ANIM_animdata_filter().
|
static |
Definition at line 2374 of file anim_filter.cc.
References ANIMCHANNEL_ACTIVEOK, ANIMCHANNEL_NEW_CHANNEL, animfilter_block_data(), ANIMFILTER_LIST_CHANNELS, ANIMTYPE_DSCACHEFILE, BEGIN_ANIMFILTER_SUBCHANNELS, BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), bAnimContext::bmain, END_ANIMFILTER_SUBCHANNELS, FILTER_CACHEFILE_OBJD, and CacheFile::id.
Referenced by animdata_filter_animchan(), and animdata_filter_dopesheet().
|
static |
Definition at line 2328 of file anim_filter.cc.
References ANIMCHANNEL_ACTIVEOK, ANIMCHANNEL_NEW_CHANNEL, animdata_filter_gpencil_layers_data_legacy(), animfilter_block_data(), ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_CHANNELS, ANIMTYPE_DSGPENCIL, BEGIN_ANIMFILTER_SUBCHANNELS, BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), bAnimContext::bmain, END_ANIMFILTER_SUBCHANNELS, EXPANDED_GPD, and bGPdata::id.
Referenced by animdata_filter_dopesheet().
|
static |
Definition at line 3132 of file anim_filter.cc.
References ANIMCHANNEL_ACTIVEOK, ANIMCHANNEL_NEW_CHANNEL, animfilter_block_data(), ANIMFILTER_LIST_CHANNELS, ANIMTYPE_DSSKEY, BEGIN_ANIMFILTER_SUBCHANNELS, BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), bAnimContext::bmain, END_ANIMFILTER_SUBCHANNELS, and FILTER_SKE_OBJD.
Referenced by animdata_filter_dopesheet_ob().
|
static |
Definition at line 2555 of file anim_filter.cc.
References ANIMCHANNEL_ACTIVEOK, ANIMCHANNEL_NEW_CHANNEL, animfilter_block_data(), ANIMFILTER_LIST_CHANNELS, ANIMTYPE_DSLINESTYLE, BEGIN_ANIMFILTER_SUBCHANNELS, BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), bAnimContext::bmain, END_ANIMFILTER_SUBCHANNELS, FILTER_LS_SCED, FreestyleLineStyle::id, ID_TAG_DOIT, LISTBASE_FOREACH, ID::tag, VIEW_LAYER_FREESTYLE, and Scene::view_layers.
Referenced by animdata_filter_dopesheet_scene().
|
static |
Definition at line 2714 of file anim_filter.cc.
References bAnimContext::ads, ADS_FILTER_NONTREE, ANIMCHANNEL_ACTIVEOK, ANIMCHANNEL_NEW_CHANNEL, animdata_filter_ds_nodetree(), animfilter_block_data(), ANIMFILTER_LIST_CHANNELS, ANIMTYPE_DSMAT, BEGIN_ANIMFILTER_SUBCHANNELS, BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), bAnimContext::bmain, END_ANIMFILTER_SUBCHANNELS, FILTER_MAT_OBJD, bDopeSheet::filterflag, and Material::nodetree.
Referenced by animdata_filter_ds_materials().
|
static |
Definition at line 2755 of file anim_filter.cc.
References animdata_filter_ds_material(), BKE_object_material_get(), and Object::totcol.
Referenced by animdata_filter_dopesheet_ob().
|
static |
Definition at line 2842 of file anim_filter.cc.
References tAnimFilterModifiersContext::ac, bAnimContext::ads, tAnimFilterModifiersContext::ads, animfilter_modifier_idpoin_cb(), BKE_modifiers_foreach_ID_link(), BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), tAnimFilterModifiersContext::filter_mode, tAnimFilterModifiersContext::items, and tAnimFilterModifiersContext::tmp_data.
Referenced by animdata_filter_dopesheet_ob().
|
static |
Definition at line 3479 of file anim_filter.cc.
References ANIMCHANNEL_ACTIVEOK, ANIMCHANNEL_NEW_CHANNEL, animfilter_block_data(), ANIMFILTER_LIST_CHANNELS, ANIMTYPE_DSMCLIP, BEGIN_ANIMFILTER_SUBCHANNELS, BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), bAnimContext::bmain, END_ANIMFILTER_SUBCHANNELS, and EXPANDED_MCLIP.
Referenced by animdata_filter_dopesheet_movieclips().
|
static |
Definition at line 2526 of file anim_filter.cc.
References bAnimContext::ads, ADS_FILTER_ONLYSEL, animdata_filter_ds_nodetree(), animdata_filter_ds_nodetree_group(), ANIMFILTER_TMP_IGNORE_ONLYSEL, bDopeSheet::filterflag, and NODE_SELECT.
Referenced by animdata_filter_dopesheet_scene(), animdata_filter_ds_material(), animdata_filter_ds_nodetree(), animdata_filter_ds_obdata(), animdata_filter_ds_texture(), animdata_filter_ds_world(), and animfilter_modifier_idpoin_cb().
|
static |
Definition at line 2489 of file anim_filter.cc.
References ANIMCHANNEL_ACTIVEOK, ANIMCHANNEL_NEW_CHANNEL, animfilter_block_data(), ANIMFILTER_LIST_CHANNELS, ANIMTYPE_DSNTREE, BEGIN_ANIMFILTER_SUBCHANNELS, BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), bAnimContext::bmain, END_ANIMFILTER_SUBCHANNELS, and FILTER_NTREE_DATA.
Referenced by animdata_filter_ds_nodetree().
|
static |
Definition at line 3166 of file anim_filter.cc.
References AnimData::action, Object::adt, ANIMCHANNEL_NEW_CHANNEL, ANIMDATA_FILTER_CASES, animfilter_block_data(), ANIMFILTER_LIST_CHANNELS, ANIMTYPE_FILLACT_LAYERED, ANIMTYPE_FILLACTD, ANIMTYPE_FILLDRIVERS, ANIMTYPE_NONE, BEGIN_ANIMFILTER_SUBCHANNELS, BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), bAnimContext::bmain, END_ANIMFILTER_SUBCHANNELS, EXPANDED_ACTC, EXPANDED_ADT, and EXPANDED_DRVD.
Referenced by animdata_filter_dopesheet_ob().
|
static |
Definition at line 2928 of file anim_filter.cc.
References bAnimContext::ads, ADS_FILTER_NOARM, ADS_FILTER_NOCAM, ADS_FILTER_NOCUR, ADS_FILTER_NOHAIR, ADS_FILTER_NOLAM, ADS_FILTER_NOLAT, ADS_FILTER_NOLIGHTPROBE, ADS_FILTER_NOMBA, ADS_FILTER_NOMESH, ADS_FILTER_NONTREE, ADS_FILTER_NOPOINTCLOUD, ADS_FILTER_NOVOLUME, ANIMCHANNEL_ACTIVEOK, ANIMCHANNEL_NEW_CHANNEL, animdata_filter_ds_nodetree(), animfilter_block_data(), ANIMFILTER_LIST_CHANNELS, ANIMTYPE_DSARM, ANIMTYPE_DSCAM, ANIMTYPE_DSCUR, ANIMTYPE_DSHAIR, ANIMTYPE_DSLAM, ANIMTYPE_DSLAT, ANIMTYPE_DSLIGHTPROBE, ANIMTYPE_DSMBALL, ANIMTYPE_DSMESH, ANIMTYPE_DSPOINTCLOUD, ANIMTYPE_DSSPK, ANIMTYPE_DSVOLUME, ANIMTYPE_NONE, BEGIN_ANIMFILTER_SUBCHANNELS, BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), bAnimContext::bmain, Object::data, END_ANIMFILTER_SUBCHANNELS, FILTER_ARM_OBJD, FILTER_CAM_OBJD, FILTER_CUR_OBJD, FILTER_CURVES_OBJD, FILTER_LAM_OBJD, FILTER_LATTICE_OBJD, FILTER_LIGHTPROBE_OBJD, FILTER_MBALL_OBJD, FILTER_MESH_OBJD, FILTER_POINTS_OBJD, FILTER_SPK_OBJD, FILTER_VOLUME_OBJD, bDopeSheet::filterflag, bDopeSheet::filterflag2, Light::id, Light::nodetree, OB_ARMATURE, OB_CAMERA, OB_CURVES, OB_CURVES_LEGACY, OB_FONT, OB_LAMP, OB_LATTICE, OB_LIGHTPROBE, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_SPEAKER, OB_SURF, OB_VOLUME, and Object::type.
Referenced by animdata_filter_dopesheet_ob().
|
static |
Definition at line 2876 of file anim_filter.cc.
References bAnimContext::ads, ADS_FILTER_NOTEX, ANIMCHANNEL_ACTIVEOK, ANIMCHANNEL_NEW_CHANNEL, animdata_filter_ds_textures(), animfilter_block_data(), ANIMFILTER_LIST_CHANNELS, ANIMTYPE_DSPART, BEGIN_ANIMFILTER_SUBCHANNELS, BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), bAnimContext::bmain, END_ANIMFILTER_SUBCHANNELS, FILTER_PART_OBJD, bDopeSheet::filterflag, LISTBASE_FOREACH, and Object::particlesystem.
Referenced by animdata_filter_dopesheet_ob().
|
static |
Definition at line 3354 of file anim_filter.cc.
References AnimData::action, Scene::adt, ANIMCHANNEL_NEW_CHANNEL, ANIMDATA_FILTER_CASES, animfilter_block_data(), ANIMFILTER_LIST_CHANNELS, ANIMTYPE_FILLACT_LAYERED, ANIMTYPE_FILLACTD, ANIMTYPE_FILLDRIVERS, ANIMTYPE_NONE, BEGIN_ANIMFILTER_SUBCHANNELS, BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), bAnimContext::bmain, END_ANIMFILTER_SUBCHANNELS, EXPANDED_ACTC, EXPANDED_ADT, and EXPANDED_DRVD.
Referenced by animdata_filter_dopesheet_scene().
|
static |
Definition at line 3631 of file anim_filter.cc.
References animdata_filter_base_is_ok(), BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), BLI_listbase_count(), ds_base_sorting_cmp(), LISTBASE_FOREACH, and MEM_calloc_arrayN().
Referenced by animdata_filter_dopesheet().
|
static |
Definition at line 2617 of file anim_filter.cc.
References bAnimContext::ads, ADS_FILTER_NONTREE, ANIMCHANNEL_ACTIVEOK, ANIMCHANNEL_NEW_CHANNEL, animdata_filter_ds_nodetree(), animfilter_block_data(), ANIMFILTER_LIST_CHANNELS, ANIMTYPE_DSTEX, BEGIN_ANIMFILTER_SUBCHANNELS, BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), bAnimContext::bmain, END_ANIMFILTER_SUBCHANNELS, FILTER_TEX_DATA, bDopeSheet::filterflag, and Tex::nodetree.
Referenced by animdata_filter_dopesheet_ob(), animdata_filter_ds_textures(), and animfilter_modifier_idpoin_cb().
|
static |
Definition at line 2666 of file anim_filter.cc.
References animdata_filter_ds_texture(), G, G_DEBUG, GS, ID_PA, MAX_MTEX, ParticleSettings::mtex, ID::name, and printf.
Referenced by animdata_filter_ds_particles().
|
static |
Definition at line 3314 of file anim_filter.cc.
References bAnimContext::ads, ADS_FILTER_NONTREE, ANIMCHANNEL_ACTIVEOK, ANIMCHANNEL_NEW_CHANNEL, animdata_filter_ds_nodetree(), animfilter_block_data(), ANIMFILTER_LIST_CHANNELS, ANIMTYPE_DSWOR, BEGIN_ANIMFILTER_SUBCHANNELS, BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), bAnimContext::bmain, END_ANIMFILTER_SUBCHANNELS, FILTER_WOR_SCED, bDopeSheet::filterflag, and World::nodetree.
Referenced by animdata_filter_dopesheet_scene().
|
static |
Definition at line 2170 of file anim_filter.cc.
References bAnimContext::ads, ANIMCHANNEL_NEW_CHANNEL, ANIMCHANNEL_SELOK, ANIMFILTER_ACTIVE, ANIMFILTER_FOREDIT, ANIMTYPE_GPLAYER, BLI_listbase_is_empty(), bAnimContext::bmain, EDITABLE_GPL, GP_LAYER_ACTIVE, bGPdata::layers, LISTBASE_FOREACH_BACKWARD, name_matches_dopesheet_filter(), bDopeSheet::searchstr, and SEL_GPL.
Referenced by animdata_filter_ds_gpencil().
|
static |
Definition at line 2275 of file anim_filter.cc.
References bAnimContext::ads, ADS_FILTER_INCL_HIDDEN, ADS_FILTER_ONLYSEL, animdata_filter_grease_pencil_data(), ANIMFILTER_DATA_VISIBLE, BASE_ENABLED_AND_MAYBE_VISIBLE_IN_VIEWPORT, BASE_ENABLED_AND_VISIBLE_IN_DEFAULT_VIEWPORT, BASE_SELECTED, BKE_collection_has_object_recursive(), BKE_view_layer_object_bases_get(), BKE_view_layer_synced_ensure(), Object::data, bDopeSheet::filter_grp, bDopeSheet::filterflag, LISTBASE_FOREACH, OB_GREASE_PENCIL, OB_HIDE_VIEWPORT, bAnimContext::scene, bAnimContext::view_layer, and Object::visibility_flag.
Referenced by ANIM_animdata_filter().
|
static |
Definition at line 2213 of file anim_filter.cc.
References GreasePencil::adt, ANIMCHANNEL_NEW_CHANNEL, ANIMCONT_GPENCIL, animdata_filter_grease_pencil_layers_data(), ANIMFILTER_ANIMDATA, animfilter_block_data(), ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_CHANNELS, ANIMTYPE_GREASE_PENCIL_DATABLOCK, BEGIN_ANIMFILTER_SUBCHANNELS, BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), bAnimContext::bmain, bAnimContext::datatype, END_ANIMFILTER_SUBCHANNELS, GreasePencil::flag, and GREASE_PENCIL_ANIM_CHANNEL_EXPANDED.
Referenced by animdata_filter_dopesheet_ob(), and animdata_filter_grease_pencil().
|
static |
Definition at line 2055 of file anim_filter.cc.
References ANIMCHANNEL_NEW_CHANNEL, ANIMCHANNEL_SELOK, ANIMFILTER_ACTIVE, ANIMFILTER_FOREDIT, ANIMTYPE_GREASE_PENCIL_LAYER, bAnimContext::bmain, and blender::bke::greasepencil::Layer::is_empty().
Referenced by animdata_filter_grease_pencil_layer_node_recursive().
|
static |
Definition at line 2094 of file anim_filter.cc.
References bAnimContext::ads, ANIMCHANNEL_NEW_CHANNEL, animdata_filter_grease_pencil_layer(), animdata_filter_grease_pencil_layer_node_recursive(), ANIMFILTER_LIST_CHANNELS, ANIMTYPE_GREASE_PENCIL_LAYER_GROUP, blender::bke::greasepencil::TreeNode::as_group(), blender::bke::greasepencil::TreeNode::as_layer(), BEGIN_ANIMFILTER_SUBCHANNELS, BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), bAnimContext::bmain, GreasePencilLayerTreeGroup::children, END_ANIMFILTER_SUBCHANNELS, blender::bke::greasepencil::LayerGroup::is_expanded(), blender::bke::greasepencil::TreeNode::is_group(), blender::bke::greasepencil::TreeNode::is_layer(), LISTBASE_FOREACH_BACKWARD, GreasePencilLayerTreeNode::name, name_matches_dopesheet_filter(), and bDopeSheet::searchstr.
Referenced by animdata_filter_grease_pencil_layer_node_recursive(), and animdata_filter_grease_pencil_layers_data().
|
static |
Definition at line 2152 of file anim_filter.cc.
References animdata_filter_grease_pencil_layer_node_recursive(), GreasePencilLayerTreeGroup::children, LISTBASE_FOREACH_BACKWARD, and GreasePencil::root_group_ptr.
Referenced by animdata_filter_grease_pencil_data().
|
static |
Definition at line 2440 of file anim_filter.cc.
References ANIMCHANNEL_NEW_CHANNEL, animdata_filter_mask_data(), ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_CHANNELS, ANIMTYPE_MASKDATABLOCK, BEGIN_ANIMFILTER_SUBCHANNELS, BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), bAnimContext::bmain, END_ANIMFILTER_SUBCHANNELS, EXPANDED_MASK, ID_REAL_USERS, LISTBASE_FOREACH, mask(), and Main::masks.
Referenced by ANIM_animdata_filter().
|
static |
Definition at line 2412 of file anim_filter.cc.
References ANIMCHANNEL_NEW_CHANNEL, ANIMCHANNEL_SELOK, ANIMFILTER_ACTIVE, ANIMFILTER_FOREDIT, ANIMTYPE_MASKLAYER, BKE_mask_layer_active(), bAnimContext::bmain, EDITABLE_MASK, LISTBASE_FOREACH, mask(), Mask::masklay_act, and SEL_MASKLAY.
Referenced by animdata_filter_mask().
|
static |
Definition at line 3881 of file anim_filter.cc.
References BLI_freelinkN(), BLI_gset_add(), BLI_gset_free(), BLI_gset_ptr_new(), and LISTBASE_FOREACH_MUTABLE.
Referenced by ANIM_animdata_filter().
|
static |
Definition at line 3863 of file anim_filter.cc.
References ANIMTYPE_NONE, BLI_freelinkN(), and LISTBASE_FOREACH_MUTABLE.
Referenced by ANIM_animdata_filter().
|
static |
Definition at line 1965 of file anim_filter.cc.
References AnimData::action, bAnimContext::ads, Key::adt, ANIMCHANNEL_NEW_CHANNEL, ANIMCHANNEL_SELOK, animfilter_action(), ANIMFILTER_ANIMDATA, animfilter_fcurves_span(), ANIMFILTER_FOREDIT, ANIMFILTER_LIST_CHANNELS, ANIMTYPE_ANIMDATA, ANIMTYPE_SHAPEKEY, blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BLI_str_endswith(), Key::block, bAnimContext::bmain, EDITABLE_SHAPEKEY, blender::animrig::fcurves_for_action_slot(), ListBase::first, bAction::id, Key::id, KEY_RELATIVE, LISTBASE_FOREACH, name_matches_dopesheet_filter(), bDopeSheet::searchstr, SEL_ANIMDATA, SEL_SHAPEKEY, AnimData::slot_handle, STREQ, and Key::type.
Referenced by ANIM_animdata_filter().
|
static |
Filters a channel group and its children.
This works both for channel groups in legacy and in layered actions.
Note: slot_handle is only used for layered actions, and is ignored for legacy actions.
Definition at line 1450 of file anim_filter.cc.
References AGRP_ACTIVE, AGRP_NOTVISIBLE, ANIMCHANNEL_NEW_CHANNEL, ANIMCHANNEL_NEW_CHANNEL_FULL, ANIMCHANNEL_SELOK, ANIMFILTER_ACTGROUPED, ANIMFILTER_CURVE_VISIBLE, animfilter_fcurve_next(), animfilter_fcurves(), animfilter_fcurves_span(), ANIMFILTER_FOREDIT, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, ANIMFILTER_SEL, ANIMFILTER_UNSEL, ANIMTYPE_FCURVE, ANIMTYPE_GROUP, BEGIN_ANIMFILTER_SUBCHANNELS, BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), bAnimContext::bmain, bActionGroup::channelbag, bActionGroup::channels, EDITABLE_AGRP, END_ANIMFILTER_SUBCHANNELS, EXPANDED_AGRP, ListBase::first, bActionGroup::flag, bAction::id, blender::animrig::Action::is_action_legacy(), and SEL_AGRP.
Referenced by ANIM_animfilter_action_slot(), and animfilter_action().
|
static |
Definition at line 1683 of file anim_filter.cc.
References bAnimContext::ads, ADS_FILTER_ONLY_SLOTS_OF_ACTIVE, ANIM_animfilter_action_slot(), animfilter_act_group(), ANIMFILTER_ACTGROUPED, animfilter_action_slots(), animfilter_fcurves(), ANIMFILTER_FOREDIT, ANIMTYPE_FCURVE, bAction::curves, bAnimContext::dopesheet_mode, bDopeSheet::filterflag, ListBase::first, bAction::groups, bAction::id, ID_IS_EDITABLE, ID_IS_OVERRIDE_LIBRARY, blender::animrig::Action::is_action_legacy(), blender::animrig::Action::is_empty(), LISTBASE_FOREACH, FCurve::next, SACTCONT_ACTION, blender::animrig::Action::slot_for_handle(), SPACE_ACTION, bAnimContext::spacetype, and blender::animrig::Slot::unassigned.
Referenced by ANIM_animdata_filter(), animdata_filter_shapekey(), and animfilter_block_data().
|
static |
Definition at line 1659 of file anim_filter.cc.
References ANIM_animfilter_action_slot(), ANIMFILTER_FOREDIT, BLI_assert, ID_IS_LINKED, ID_IS_OVERRIDE_LIBRARY, and blender::animrig::Action::slots().
Referenced by animfilter_action().
|
static |
Definition at line 1902 of file anim_filter.cc.
References AnimData::action, Mask::adt, ANIMCHANNEL_NEW_CHANNEL, ANIMCHANNEL_SELOK, ANIMDATA_FILTER_CASES, animfilter_action(), animfilter_fcurves(), animfilter_nla(), animfilter_nla_controls(), ANIMTYPE_ANIMDATA, ANIMTYPE_FCURVE, BKE_animdata_from_id(), bAnimContext::bmain, AnimData::drivers, ListBase::first, Mask::id, SEL_ANIMDATA, and AnimData::slot_handle.
Referenced by animdata_filter_animchan(), animdata_filter_ds_cachefile(), animdata_filter_ds_gpencil(), animdata_filter_ds_keyanim(), animdata_filter_ds_linestyle(), animdata_filter_ds_material(), animdata_filter_ds_movieclip(), animdata_filter_ds_nodetree_group(), animdata_filter_ds_obanim(), animdata_filter_ds_obdata(), animdata_filter_ds_particles(), animdata_filter_ds_scene(), animdata_filter_ds_texture(), animdata_filter_ds_world(), and animdata_filter_grease_pencil_data().
|
static |
Definition at line 1205 of file anim_filter.cc.
References bAnimContext::ads, ADS_FILTER_INCL_HIDDEN, ADS_FILTER_ONLY_ERRORS, ADS_FILTER_ONLYSEL, ANIMCHANNEL_SELEDITOK, ANIMCHANNEL_SELOK, ANIMFILTER_ACTIVE, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_FOREDIT, ANIMFILTER_TMP_IGNORE_ONLYSEL, ANIMTYPE_FCURVE, EDITABLE_FCU, FCURVE_ACTIVE, fcurve_has_errors(), FCURVE_VISIBLE, bDopeSheet::filterflag, FCurve::flag, FCurve::grp, FCurve::next, bDopeSheet::searchstr, SEL_FCU, skip_fcurve_selected_data(), and skip_fcurve_with_name().
Referenced by animfilter_act_group(), and animfilter_fcurves().
|
static |
Definition at line 1279 of file anim_filter.cc.
References ANIMCHANNEL_NEW_CHANNEL, ANIMCHANNEL_NEW_CHANNEL_FULL, animfilter_fcurve_next(), ANIMTYPE_FCURVE, ANIMTYPE_NLACURVE, bAnimContext::bmain, FCurve::next, and UNLIKELY.
Referenced by animfilter_act_group(), animfilter_action(), animfilter_block_data(), and animfilter_nla_controls().
|
static |
Add bAnimListElems to anim_data for each F-Curve in fcurves.
| slot_handle | The slot handle that these F-Curves animate. This is used later to look up the ID* of the user of the slot, which in turn is used to construct a suitable F-Curve label for in the channels list. |
| owner_id | The ID whose 'animdata->action' pointer was followed to get to these F-Curves. This ID may be animated by a different slot than referenced by slot_handle, so do not treat this as "the ID animated by these F-Curves". |
| fcurve_owner_id | The ID that holds these F-Curves. Typically an Action, but can be any ID, for example in the case of drivers. |
Definition at line 1363 of file anim_filter.cc.
References bAnimContext::ads, ADS_FILTER_ONLY_ERRORS, ale_name_matches_dopesheet_filter(), ANIMFILTER_ACTIVE, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_FOREDIT, ANIMFILTER_TMP_PEEK, ANIMTYPE_FCURVE, BLI_addtail(), BLI_assert, bAnimContext::bmain, FCURVE_ACTIVE, fcurve_has_errors(), FCURVE_PROTECTED, FCURVE_SELECTED, fcurve_span_must_be_selected(), fcurve_span_selection_matters(), FCURVE_VISIBLE, bDopeSheet::filterflag, ActionSlot::handle, make_new_animlistelem(), MEM_freeN(), bDopeSheet::searchstr, skip_fcurve_selected_data(), and bAnimListElem::slot_handle.
Referenced by ANIM_animfilter_action_slot(), animdata_filter_shapekey(), and animfilter_act_group().
|
static |
Definition at line 2792 of file anim_filter.cc.
References tAnimFilterModifiersContext::ac, bAnimContext::ads, tAnimFilterModifiersContext::ads, ADS_FILTER_NONTREE, ADS_FILTER_NOTEX, animdata_filter_ds_nodetree(), animdata_filter_ds_texture(), BLI_assert, tAnimFilterModifiersContext::filter_mode, bDopeSheet::filterflag, GS, Object::id, ID_NT, ID_TE, tAnimFilterModifiersContext::items, and tAnimFilterModifiersContext::tmp_data.
Referenced by animdata_filter_ds_modifiers().
|
static |
Definition at line 1757 of file anim_filter.cc.
References AnimData::action, bAnimContext::ads, ADS_FILTER_NLA_NOACT, Mask::adt, ANIMCHANNEL_NEW_CHANNEL, ANIMCHANNEL_NEW_CHANNEL_FULL, ANIMCHANNEL_SELOK, ANIMFILTER_ACTIVE, ANIMFILTER_FOREDIT, ANIMFILTER_LIST_CHANNELS, ANIMTYPE_NLAACTION, ANIMTYPE_NLATRACK, bAnimContext::bmain, EDITABLE_NLT, bDopeSheet::filterflag, ListBase::first, NlaTrack::flag, ListBase::last, LISTBASE_FOREACH, NlaTrack::name, name_matches_dopesheet_filter(), next, NlaTrack::next, AnimData::nla_tracks, NLATRACK_ACTIVE, NlaTrack::prev, bDopeSheet::searchstr, SEL_NLT, and NlaTrack::strips.
Referenced by animfilter_block_data().
|
static |
Definition at line 1848 of file anim_filter.cc.
References Mask::adt, ADT_NLA_SKEYS_COLLAPSED, ANIMCHANNEL_NEW_CHANNEL, animfilter_fcurves(), ANIMFILTER_LIST_CHANNELS, ANIMFILTER_SEL, ANIMFILTER_UNSEL, ANIMTYPE_NLACONTROLS, ANIMTYPE_NLACURVE, BEGIN_ANIMFILTER_SUBCHANNELS, BLI_assert, BLI_listbase_is_empty(), BLI_movelisttolist(), bAnimContext::bmain, END_ANIMFILTER_SUBCHANNELS, AnimData::flag, LISTBASE_FOREACH, AnimData::nla_tracks, and NlaStrip::strips.
Referenced by animfilter_block_data().
|
static |
Definition at line 3622 of file anim_filter.cc.
References BLI_strcasecmp_natural(), Object::id, ID::name, and Base::object.
Referenced by animdata_filter_ds_sorted_bases().
|
static |
Check if F-Curve has errors and/or is disabled
Definition at line 1163 of file anim_filter.cc.
References bAnimContext::ads, ADS_FILTER_DRIVER_FALLBACK_AS_ERROR, FCurve::driver, DRIVER_FLAG_INVALID, DRIVER_TARGETS_LOOPER_END, DRIVER_TARGETS_USED_LOOPER_BEGIN, DTAR_FLAG_FALLBACK_USED, DTAR_FLAG_INVALID, FCURVE_DISABLED, bDopeSheet::filterflag2, ChannelDriver::flag, FCurve::flag, LISTBASE_FOREACH, and ChannelDriver::variables.
Referenced by animfilter_fcurve_next(), and animfilter_fcurves_span().
|
inlinestatic |
Definition at line 1340 of file anim_filter.cc.
References ANIMFILTER_FOREDIT, ANIMFILTER_SEL, and ANIMFILTER_SELEDIT.
Referenced by animfilter_fcurves_span().
|
inlinestatic |
Definition at line 1330 of file anim_filter.cc.
References ANIMFILTER_FOREDIT, ANIMFILTER_SEL, ANIMFILTER_SELEDIT, and ANIMFILTER_UNSEL.
Referenced by animfilter_fcurves_span().
|
static |
Definition at line 244 of file anim_filter.cc.
References bAnimContext::ads, SpaceGraph::ads, ADS_FILTER_ONLYDRIVERS, ADS_FILTER_SELEDIT, ANIMCONT_DRIVERS, ANIMCONT_FCURVES, ANIMCONT_NONE, bAnimContext::data, bAnimContext::datatype, bDopeSheet::filterflag, bAnimContext::grapheditor_mode, MEM_callocN(), SpaceGraph::mode, bAnimContext::scene, SIPO_MODE_ANIMATION, SIPO_MODE_DRIVERS, bDopeSheet::source, U, and USER_ANIM_ONLY_SHOW_SELECTED_CURVE_KEYS.
Referenced by ANIM_animdata_context_getdata().
|
static |
Set ale so that it points to the top-most 'summary' channel of the given adt. So this is either the Animation or the Action, or empty.
Definition at line 596 of file anim_filter.cc.
References AnimData::action, bAnimListElem::adt, Mask::adt, ALE_ACT, ALE_ACTION_LAYERED, ALE_NONE, bAnimListElem::datatype, blender::animrig::Action::is_action_layered(), and bAnimListElem::key_data.
Referenced by make_new_animlistelem().
|
static |
Definition at line 614 of file anim_filter.cc.
References AnimData::action, bAnimListElem::adt, bArmature::adt, bGPdata::adt, bNodeTree::adt, CacheFile::adt, Camera::adt, Curve::adt, Curves::adt, FreestyleLineStyle::adt, Key::adt, Lattice::adt, Light::adt, LightProbe::adt, Mask::adt, Material::adt, Mesh::adt, MovieClip::adt, ParticleSettings::adt, PointCloud::adt, Speaker::adt, Tex::adt, Volume::adt, World::adt, ALE_ACT, ALE_ACTION_LAYERED, ALE_ACTION_SLOT, ALE_ALL, ALE_FCURVE, ALE_GPFRAME, ALE_GREASE_PENCIL_CEL, ALE_GREASE_PENCIL_DATA, ALE_GREASE_PENCIL_GROUP, ALE_GROUP, ALE_MASKLAY, ALE_NLASTRIP, ALE_NONE, ALE_OB, ALE_SCE, ANIMTYPE_ACTION_SLOT, ANIMTYPE_ANIMDATA, ANIMTYPE_DSARM, ANIMTYPE_DSCACHEFILE, ANIMTYPE_DSCAM, ANIMTYPE_DSCUR, ANIMTYPE_DSGPENCIL, ANIMTYPE_DSHAIR, ANIMTYPE_DSLAM, ANIMTYPE_DSLAT, ANIMTYPE_DSLIGHTPROBE, ANIMTYPE_DSLINESTYLE, ANIMTYPE_DSMAT, ANIMTYPE_DSMBALL, ANIMTYPE_DSMCLIP, ANIMTYPE_DSMESH, ANIMTYPE_DSNTREE, ANIMTYPE_DSPART, ANIMTYPE_DSPOINTCLOUD, ANIMTYPE_DSSKEY, ANIMTYPE_DSSPK, ANIMTYPE_DSTEX, ANIMTYPE_DSVOLUME, ANIMTYPE_DSWOR, ANIMTYPE_FCURVE, ANIMTYPE_FILLACT_LAYERED, ANIMTYPE_FILLACTD, ANIMTYPE_FILLDRIVERS, ANIMTYPE_GPLAYER, ANIMTYPE_GREASE_PENCIL_DATABLOCK, ANIMTYPE_GREASE_PENCIL_LAYER, ANIMTYPE_GREASE_PENCIL_LAYER_GROUP, ANIMTYPE_GROUP, ANIMTYPE_MASKDATABLOCK, ANIMTYPE_MASKLAYER, ANIMTYPE_NLAACTION, ANIMTYPE_NLACONTROLS, ANIMTYPE_NLACURVE, ANIMTYPE_NLATRACK, ANIMTYPE_NONE, ANIMTYPE_NUM_TYPES, ANIMTYPE_OBJECT, ANIMTYPE_PALETTE, ANIMTYPE_SCENE, ANIMTYPE_SHAPEKEY, ANIMTYPE_SPECIALDATA__UNUSED, ANIMTYPE_SUMMARY, GreasePencilLayer::base, GreasePencilLayerTreeGroup::base, BKE_animdata_from_id(), BKE_keyblock_curval_rnapath_get(), BLI_assert_msg, BLI_findindex(), Key::block, bAnimListElem::bmain, bAnimListElem::data, data, bAnimListElem::datatype, EXPANDED_GPD, EXPANDED_MCLIP, blender::animrig::fcurve_find_in_assigned_slot(), bAnimListElem::fcurve_owner_id, FILTER_ARM_OBJD, FILTER_CACHEFILE_OBJD, FILTER_CAM_OBJD, FILTER_CUR_OBJD, FILTER_CURVES_OBJD, FILTER_LAM_OBJD, FILTER_LATTICE_OBJD, FILTER_LIGHTPROBE_OBJD, FILTER_LS_SCED, FILTER_MAT_OBJD, FILTER_MESH_OBJD, FILTER_NTREE_DATA, FILTER_PART_OBJD, FILTER_POINTS_OBJD, FILTER_SKE_OBJD, FILTER_SPK_OBJD, FILTER_TEX_DATA, FILTER_VOLUME_OBJD, FILTER_WOR_SCED, AnimData::flag, bAction::flag, bActionGroup::flag, bAnimListElem::flag, bGPDlayer::flag, FCurve::flag, GreasePencil::flag, GreasePencilLayerTreeNode::flag, KeyBlock::flag, MaskLayer::flag, NlaTrack::flag, Object::flag, Scene::flag, GS, bAnimListElem::id, Object::id, ID_AC, bAnimListElem::index, bAnimListElem::key_data, key_data_from_adt(), MEM_callocN(), ID::name, Base::object, ActionSlot::slot_flags, NlaTrack::strips, and bAnimListElem::type.
Referenced by animdata_filter_dopesheet_summary(), and animfilter_fcurves_span().
|
static |
Definition at line 1083 of file anim_filter.cc.
References ADS_FLAG_FUZZY_NAMES, ADS_FLAG_INVERT_FILTER, BLI_array_alloca, BLI_strcasestr(), BLI_string_find_split_words(), BLI_string_max_possible_word_count(), BLI_strncasestr(), bDopeSheet::flag, and bDopeSheet::searchstr.
Referenced by ale_name_matches_dopesheet_filter(), animdata_filter_gpencil_layers_data_legacy(), animdata_filter_grease_pencil_layer_node_recursive(), animdata_filter_shapekey(), animfilter_nla(), and skip_fcurve_with_name().
|
static |
Definition at line 292 of file anim_filter.cc.
References bAnimContext::ads, SpaceNla::ads, ADS_FILTER_ONLYNLA, ANIMCONT_NLA, bAnimContext::data, bAnimContext::datatype, bDopeSheet::filterflag, MEM_callocN(), bAnimContext::scene, and bDopeSheet::source.
Referenced by ANIM_animdata_context_getdata().
|
static |
Definition at line 966 of file anim_filter.cc.
References bAnimContext::ads, ADS_FILTER_INCL_HIDDEN, ADS_FILTER_ONLYSEL, ADT_CURVES_ALWAYS_VISIBLE, ANIMFILTER_DATA_VISIBLE, BKE_pose_channel_find_name(), BLI_str_quoted_substr(), bPoseChannel::bone, blender::animrig::bone_is_visible_pchan(), BONE_SELECTED, Object::data, blender::seq::editing_get(), bDopeSheet::filterflag, bActionGroup::flag, bNode::flag, Bone::flag, Strip::flag, blender::seq::get_strip_by_name(), FCurve::grp, GS, ID_NT, ID_OB, ID_SCE, bNode::name, bPoseChannel::name, ID::name, Strip::name, blender::bke::node_find_node_by_name(), NODE_SELECT, Object::pose, FCurve::rna_path, and SELECT.
Referenced by animfilter_fcurve_next(), and animfilter_fcurves_span().
|
static |
Definition at line 1114 of file anim_filter.cc.
References bAnimContext::ads, ANIM_channel_get_typeinfo(), bAnimListElem::data, bAnimListElem::id, bAnimChannelType::name, name_matches_dopesheet_filter(), bAnimListElem::owner, and bAnimListElem::type.
Referenced by animfilter_fcurve_next().