|
Blender
V2.93
|
Go to the source code of this file.
Enumerations | |
| enum | eNlaTime_ConvertModes { NLATIME_CONVERT_EVAL = 0 , NLATIME_CONVERT_UNMAP , NLATIME_CONVERT_MAP } |
Definition at line 1862 of file nla.c.
References NlaStrip::act, ListBase::first, NlaTrack::name, NlaStrip::next, NlaTrack::next, AnimData::nla_tracks, STASH_TRACK_NAME, and NlaTrack::strips.
Referenced by BKE_nla_action_stash().
| void BKE_nla_action_pushdown | ( | struct AnimData * | adt, |
| const bool | is_liboverride | ||
| ) |
Definition at line 1957 of file nla.c.
References AnimData::act_blendmode, AnimData::act_extendmode, AnimData::act_influence, AnimData::action, action_has_motion(), BKE_nlastack_add_strip(), BKE_nlastrip_set_active(), BKE_nlastrip_validate_fcurves(), NlaStrip::blendmode, CLOG_ERROR, ELEM, NlaStrip::extendmode, ListBase::first, NlaStrip::flag, bAction::id, id_us_min(), NlaStrip::influence, LOG, AnimData::nla_tracks, NLASTRIP_EXTEND_HOLD, NLASTRIP_EXTEND_HOLD_FORWARD, NLASTRIP_FLAG_USR_INFLUENCE, nlastrip_is_first(), and NULL.
Referenced by action_pushdown_exec(), mouse_nla_channels(), and nlachannels_pushdown_exec().
| bool BKE_nla_action_stash | ( | struct AnimData * | adt, |
| const bool | is_liboverride | ||
| ) |
Definition at line 1883 of file nla.c.
References AnimData::action, BKE_nla_action_is_stashed(), BKE_nlastrip_new(), BKE_nlastrip_validate_name(), BKE_nlatrack_add(), BKE_nlatrack_add_strip(), BLI_addhead(), BLI_assert, BLI_remlink(), BLI_strncpy(), BLI_uniquename(), CLOG_ERROR, ELEM, NlaStrip::flag, NlaTrack::flag, ListBase::last, LOG, NlaTrack::name, AnimData::nla_tracks, NLASTRIP_FLAG_ACTIVE, NLASTRIP_FLAG_SELECT, NLASTRIP_FLAG_SYNC_LENGTH, NLATRACK_MUTED, NLATRACK_PROTECTED, NULL, NlaTrack::prev, and STASH_TRACK_NAME.
Referenced by action_new_exec(), action_stash_create_exec(), and action_stash_exec().
| struct NlaStrip* BKE_nla_add_soundstrip | ( | struct Main * | bmain, |
| struct Scene * | scene, | ||
| struct Speaker * | speaker | ||
| ) |
Definition at line 401 of file nla.c.
References BKE_sound_info_get(), ceil(), NlaStrip::end, NlaStrip::extendmode, NlaStrip::flag, float(), FPS, SoundInfo::length, MEM_callocN, NLASTRIP_EXTEND_NOTHING, NLASTRIP_FLAG_SELECT, NLASTRIP_TYPE_SOUND, NlaStrip::repeat, NlaStrip::scale, scene, Speaker::sound, NlaStrip::type, and UNUSED_VARS.
Referenced by nlaedit_add_sound_exec(), and object_speaker_add_exec().
| void BKE_nla_blend_read_data | ( | struct BlendDataReader * | reader, |
| struct ListBase * | tracks | ||
| ) |
Definition at line 2284 of file nla.c.
References blend_data_read_nla_strips(), BLO_read_list(), LISTBASE_FOREACH, and tracks.
Referenced by BKE_animdata_blend_read_data().
| void BKE_nla_blend_read_expand | ( | struct BlendExpander * | expander, |
| struct ListBase * | tracks | ||
| ) |
Definition at line 2308 of file nla.c.
References blend_read_expand_nla_strips(), LISTBASE_FOREACH, and tracks.
Referenced by BKE_animdata_blend_read_expand().
| void BKE_nla_blend_read_lib | ( | struct BlendLibReader * | reader, |
| struct ID * | id, | ||
| struct ListBase * | tracks | ||
| ) |
Definition at line 2295 of file nla.c.
References blend_lib_read_nla_strips(), id, ID::lib, LISTBASE_FOREACH, NLATRACK_OVERRIDELIBRARY_LOCAL, NULL, and tracks.
Referenced by BKE_animdata_blend_read_lib().
| void BKE_nla_blend_write | ( | struct BlendWriter * | writer, |
| struct ListBase * | tracks | ||
| ) |
Definition at line 2272 of file nla.c.
References blend_write_nla_strips(), BLO_write_struct, LISTBASE_FOREACH, and tracks.
Referenced by BKE_animdata_blend_write().
| void BKE_nla_strip_foreach_id | ( | NlaStrip * | strip, |
| LibraryForeachIDData * | data | ||
| ) |
Callback used by lib_query to walk over all ID usages (mimics foreach_id callback of IDTypeInfo structure).
Definition at line 441 of file nla.c.
References NlaStrip::act, BKE_fcurve_foreach_id(), BKE_LIB_FOREACHID_PROCESS, BKE_nla_strip_foreach_id(), data, NlaStrip::fcurves, IDWALK_CB_USER, LISTBASE_FOREACH, and NlaStrip::strips.
Referenced by BKE_animdata_foreach_id(), and BKE_nla_strip_foreach_id().
Copy all NLA data.
| flag | Control ID pointers management, see LIB_ID_CREATE_.../LIB_ID_COPY_... flags in BKE_lib_id.h |
Definition at line 257 of file nla.c.
References BKE_nlatrack_copy(), BLI_addtail(), BLI_listbase_clear(), ELEM, ListBase::first, NlaTrack::next, and NULL.
Referenced by BKE_animdata_copy(), and BKE_animdata_merge_copy().
| void BKE_nla_tracks_free | ( | ListBase * | tracks, |
| bool | do_id_user | ||
| ) |
Definition at line 141 of file nla.c.
References BKE_nlatrack_free(), BLI_listbase_clear(), ELEM, ListBase::first, NlaTrack::next, NULL, and tracks.
Referenced by BKE_animdata_free().
Definition at line 582 of file nla.c.
References AnimData::act_track, AnimData::actstrip, ADT_NLA_EDIT_NOMAP, ADT_NLA_EDIT_ON, BKE_nlastrip_find_active(), BKE_nlatrack_find_active(), BKE_nlatrack_find_tweaked(), NlaStrip::flag, AnimData::flag, AnimData::nla_tracks, NLASTRIP_FLAG_USR_TIME, nlastrip_get_frame(), and NULL.
Referenced by achannel_setting_slider_cb(), achannel_setting_slider_shapekey_cb(), actkeys_find_key_in_list_element(), actkeys_mselect_column(), applyTimeScaleValue(), applyTimeSlideValue(), bezt_nlamapping_apply(), bezt_nlamapping_restore(), bezt_to_transdata(), box_select_action(), columnselect_action_keys(), columnselect_graph_keys(), createTransActionData(), delete_key_v3d_exec(), delete_keyframe(), doAnimEdit_SnapFrame(), draw_fcurve_curve(), draw_fcurve_modifier_controls_envelope(), flushTransGraphData(), get_keyframe_extents(), graphkeys_click_insert_exec(), graphkeys_mselect_column(), initTimeSlide(), insert_action_keys(), insert_graph_keys(), nla_time_remap(), object_frame_has_keyframe(), pose_slide_apply(), pose_slide_init(), pose_slide_invoke_common(), region_select_action_keys(), summary_keyframes_loop(), and ui_but_anim_flag().
| bool BKE_nla_tweakmode_enter | ( | struct AnimData * | adt | ) |
Definition at line 2034 of file nla.c.
References NlaStrip::act, AnimData::act_track, AnimData::action, AnimData::actstrip, ADT_NLA_EDIT_ON, BKE_nlastrip_find_active(), ELEM, ListBase::first, NlaStrip::flag, NlaTrack::flag, AnimData::flag, G, G_DEBUG, bAction::id, id_us_plus(), ListBase::last, NlaStrip::next, NlaTrack::next, AnimData::nla_tracks, NLASTRIP_FLAG_ACTIVE, NLASTRIP_FLAG_SELECT, NLASTRIP_FLAG_TWEAKUSER, NLATRACK_ACTIVE, NLATRACK_DISABLED, NLATRACK_SELECTED, NULL, NlaTrack::prev, NlaTrack::strips, and AnimData::tmpact.
Referenced by action_layer_switch_strip(), and nlaedit_enable_tweakmode_exec().
| void BKE_nla_tweakmode_exit | ( | struct AnimData * | adt | ) |
Definition at line 2148 of file nla.c.
References NlaStrip::act, AnimData::act_track, AnimData::action, AnimData::actstrip, ADT_NLA_EDIT_ON, BKE_nlastrip_recalculate_bounds_sync_action(), ELEM, ListBase::first, NlaStrip::flag, NlaTrack::flag, AnimData::flag, bAction::id, id_us_min(), NlaStrip::next, NlaTrack::next, AnimData::nla_tracks, NLASTRIP_FLAG_SYNC_LENGTH, NLASTRIP_FLAG_TWEAKUSER, NLASTRIP_TYPE_CLIP, NLATRACK_DISABLED, NULL, NlaTrack::strips, AnimData::tmpact, and NlaStrip::type.
Referenced by action_layer_next_exec(), action_layer_switch_strip(), ED_animedit_unlink_action(), and nlaedit_disable_tweakmode().
| void BKE_nla_validate_state | ( | struct AnimData * | adt | ) |
Definition at line 1800 of file nla.c.
References BKE_nlastrip_validate_autoblends(), NlaStrip::blendmode, ELEM, NlaStrip::extendmode, ListBase::first, NlaStrip::next, NlaTrack::next, AnimData::nla_tracks, NLASTRIP_EXTEND_HOLD, NLASTRIP_EXTEND_HOLD_FORWARD, NLASTRIP_EXTEND_NOTHING, NLASTRIP_MODE_REPLACE, NULL, NlaStrip::start, and NlaTrack::strips.
Referenced by ED_nla_postop_refresh().
Definition at line 861 of file nla.c.
References BKE_nlastrips_add_strip(), BKE_nlastrips_has_space(), BLI_addhead(), BLI_addtail(), ELEM, NlaStrip::end, NlaStrip::next, NULL, NlaStrip::prev, NlaStrip::start, and NlaStrip::strips.
| void BKE_nlameta_flush_transforms | ( | struct NlaStrip * | mstrip | ) |
Definition at line 912 of file nla.c.
References BKE_nlameta_flush_transforms(), ELEM, NlaStrip::end, ListBase::first, IS_EQF, ListBase::last, NlaStrip::next, NLASTRIP_TYPE_META, NULL, ptr, RNA_float_set(), RNA_NlaStrip, RNA_pointer_create(), NlaStrip::start, NlaStrip::strips, and NlaStrip::type.
Referenced by BKE_nlameta_flush_transforms(), nlaedit_snap_exec(), nlaedit_swap_exec(), and recalcData_nla().
| struct NlaStrip* BKE_nlastack_add_strip | ( | struct AnimData * | adt, |
| struct bAction * | act, | ||
| const bool | is_liboverride | ||
| ) |
Definition at line 368 of file nla.c.
References BKE_nlastrip_new(), BKE_nlastrip_validate_name(), BKE_nlatrack_add(), BKE_nlatrack_add_strip(), ELEM, ListBase::last, AnimData::nla_tracks, and NULL.
Referenced by animrecord_check_state(), and BKE_nla_action_pushdown().
| struct NlaStrip* BKE_nlastrip_copy | ( | Main * | bmain, |
| NlaStrip * | strip, | ||
| const bool | use_same_action, | ||
| const int | flag | ||
| ) |
Copy NLA strip
| use_same_action | When true, the existing action is used (instead of being duplicated) |
| flag | Control ID pointers management, see LIB_ID_CREATE_.../LIB_ID_COPY_... flags in BKE_lib_id.h |
Definition at line 169 of file nla.c.
References NlaStrip::act, BKE_fcurves_copy(), BKE_id_copy_ex(), BKE_nlastrip_copy(), BLI_addtail(), BLI_listbase_clear(), copy_fmodifiers(), NlaStrip::fcurves, ListBase::first, bAction::id, id_us_plus(), LIB_ID_CREATE_NO_USER_REFCOUNT, MEM_dupallocN, NlaStrip::modifiers, NlaStrip::next, NULL, NlaStrip::prev, and NlaStrip::strips.
Referenced by BKE_nlastrip_copy(), BKE_nlatrack_copy(), nlaedit_duplicate_exec(), and nlaedit_split_strip_actclip().
Definition at line 1213 of file nla.c.
References ELEM, ListBase::first, NlaStrip::flag, NlaStrip::next, NLASTRIP_FLAG_ACTIVE, NULL, and NlaTrack::strips.
Referenced by BKE_nla_tweakedit_remap(), BKE_nla_tweakmode_enter(), and nla_panel_context().
Definition at line 72 of file nla.c.
References NlaStrip::act, BKE_fcurves_free(), BKE_nlastrip_free(), BLI_freelinkN(), NlaStrip::fcurves, ListBase::first, free_fmodifiers(), bAction::id, id_us_min(), MEM_freeN, NlaStrip::modifiers, NlaStrip::next, NULL, and NlaStrip::strips.
Referenced by BKE_nlastrip_free(), BKE_nlastrips_clear_metastrip(), BKE_nlatrack_free(), ED_animedit_unlink_action(), and nlaedit_delete_exec().
| bool BKE_nlastrip_has_curves_for_property | ( | const struct PointerRNA * | ptr, |
| const struct PropertyRNA * | prop | ||
| ) |
Referenced by BKE_fcurve_find_by_rna_context_ui(), and delete_key_button_exec().
Definition at line 327 of file nla.c.
References NlaStrip::act, NlaStrip::actend, NlaStrip::actstart, calc_action_range(), NlaStrip::end, NlaStrip::flag, bAction::id, id_us_plus(), IS_EQF, MEM_callocN, NLASTRIP_FLAG_SELECT, NLASTRIP_FLAG_SYNC_LENGTH, NULL, NlaStrip::repeat, NlaStrip::scale, and NlaStrip::start.
Referenced by BKE_nla_action_stash(), BKE_nlastack_add_strip(), and nlaedit_add_actionclip_exec().
| void BKE_nlastrip_recalculate_bounds | ( | struct NlaStrip * | strip | ) |
Definition at line 1409 of file nla.c.
References NlaStrip::actend, NlaStrip::actstart, NlaStrip::end, IS_EQF, nlastrip_fix_resize_overlaps(), NLASTRIP_TYPE_CLIP, NULL, NlaStrip::repeat, NlaStrip::scale, NlaStrip::start, and NlaStrip::type.
Referenced by BKE_nlastrip_recalculate_bounds_sync_action().
| void BKE_nlastrip_recalculate_bounds_sync_action | ( | NlaStrip * | strip | ) |
Recalculate the start and end frames for the strip to match the bounds of its action such that the overall NLA animation result is unchanged.
Definition at line 1389 of file nla.c.
References NlaStrip::act, NlaStrip::actend, NlaStrip::actstart, BKE_nlastrip_recalculate_bounds(), calc_action_range(), NLASTRIP_TYPE_CLIP, NULL, NlaStrip::scale, NlaStrip::start, and NlaStrip::type.
Referenced by animsys_create_tweak_strip(), BKE_nla_tweakmode_exit(), and nlaedit_sync_actlen_exec().
Definition at line 1234 of file nla.c.
References ListBase::first, NlaStrip::flag, NlaStrip::next, NlaTrack::next, AnimData::nla_tracks, NLASTRIP_FLAG_ACTIVE, NULL, and NlaTrack::strips.
Referenced by BKE_nla_action_pushdown().
| void BKE_nlastrip_validate_fcurves | ( | struct NlaStrip * | strip | ) |
Definition at line 1516 of file nla.c.
References FCurve::auto_smoothing, FCurve::bezt, BKE_fcurve_create(), BKE_fcurve_find(), BLI_addtail(), BLI_strdupn(), FCURVE_SELECTED, FCURVE_VISIBLE, NlaStrip::fcurves, FCurve::flag, NlaStrip::flag, BezTriple::h1, BezTriple::h2, NlaStrip::influence, BezTriple::ipo, MEM_callocN, NLASTRIP_FLAG_USR_INFLUENCE, NLASTRIP_FLAG_USR_TIME, NULL, FCurve::rna_path, NlaStrip::start, FCurve::totvert, and BezTriple::vec.
Referenced by animrecord_check_state(), and BKE_nla_action_pushdown().
Definition at line 1626 of file nla.c.
References NlaStrip::act, BLI_ghash_free(), BLI_ghash_insert(), BLI_ghash_str_new(), BLI_strncpy(), BLI_uniquename_cb(), DATA_, ELEM, ListBase::first, bAction::id, NlaStrip::name, ID::name, NlaStrip::next, NlaTrack::next, nla_editbone_name_check(), AnimData::nla_tracks, NLASTRIP_TYPE_CLIP, NLASTRIP_TYPE_META, NLASTRIP_TYPE_TRANSITION, NULL, NlaTrack::strips, and NlaStrip::type.
Referenced by BKE_nla_action_stash(), BKE_nlastack_add_strip(), nlaedit_add_actionclip_exec(), nlaedit_add_meta_exec(), nlaedit_add_sound_exec(), nlaedit_add_transition_exec(), nlaedit_duplicate_exec(), nlaedit_split_strip_actclip(), nlastrips_to_animdata(), and object_speaker_add_exec().
Definition at line 1258 of file nla.c.
References NlaStrip::end, fabsf, IN_RANGE, IS_EQF, max, min, NULL, and NlaStrip::start.
Referenced by box_select_nla_strips(), draw_nla_main_data(), nlaedit_select_leftright(), and nlaedit_strip_at_region_position().
Definition at line 714 of file nla.c.
References BKE_nlastrips_has_space(), BLI_addtail(), BLI_insertlinkbefore(), ELEM, NlaStrip::end, ListBase::first, NlaStrip::next, NULL, and NlaStrip::start.
Referenced by BKE_nlameta_add_strip(), and BKE_nlatrack_add_strip().
| void BKE_nlastrips_clear_metas | ( | ListBase * | strips, |
| bool | only_sel, | ||
| bool | only_temp | ||
| ) |
Definition at line 833 of file nla.c.
References BKE_nlastrips_clear_metastrip(), ELEM, ListBase::first, NlaStrip::flag, NlaStrip::next, NLASTRIP_FLAG_SELECT, NLASTRIP_FLAG_TEMP_META, NLASTRIP_TYPE_META, NULL, and NlaStrip::type.
Referenced by createTransNlaData(), nlaedit_remove_meta_exec(), nlaedit_snap_exec(), nlaedit_swap_exec(), and special_aftertrans_update__nla().
Definition at line 807 of file nla.c.
References BKE_nlastrip_free(), BLI_insertlinkbefore(), BLI_remlink(), ELEM, ListBase::first, NlaStrip::next, NULL, and NlaStrip::strips.
Referenced by BKE_nlastrips_clear_metas(), and nlaedit_split_strip_meta().
Definition at line 631 of file nla.c.
References NlaStrip::end, ListBase::first, IS_EQF, NlaStrip::next, NULL, NlaStrip::start, and SWAP.
Referenced by BKE_nlameta_add_strip(), BKE_nlastrips_add_strip(), BKE_nlatrack_has_space(), and nlaedit_swap_exec().
| void BKE_nlastrips_make_metas | ( | ListBase * | strips, |
| bool | is_temp | ||
| ) |
Definition at line 753 of file nla.c.
References BLI_addtail(), BLI_insertlinkbefore(), BLI_remlink(), ELEM, NlaStrip::end, ListBase::first, NlaStrip::flag, MEM_callocN, NlaStrip::next, NLASTRIP_FLAG_SELECT, NLASTRIP_FLAG_TEMP_META, NLASTRIP_TYPE_META, NULL, NlaStrip::repeat, NlaStrip::scale, NlaStrip::start, NlaStrip::strips, and NlaStrip::type.
Referenced by createTransNlaData(), nlaedit_add_meta_exec(), nlaedit_snap_exec(), and nlaedit_swap_exec().
| void BKE_nlastrips_sort_strips | ( | ListBase * | strips | ) |
Definition at line 668 of file nla.c.
References BLI_addhead(), BLI_insertlinkafter(), BLI_remlink(), ELEM, NlaStrip::end, ListBase::first, ListBase::last, NlaStrip::next, NULL, NlaStrip::prev, and NlaStrip::start.
Referenced by BKE_nlatrack_sort_strips().
| struct NlaTrack* BKE_nlatrack_add | ( | struct AnimData * | adt, |
| struct NlaTrack * | prev, | ||
| bool | is_liboverride | ||
| ) |
Definition at line 283 of file nla.c.
References BKE_nlatrack_set_active(), BLI_addtail(), BLI_insertlinkafter(), BLI_listbase_count(), BLI_uniquename(), DATA_, NlaTrack::flag, NlaTrack::index, MEM_callocN, NlaTrack::name, NlaTrack::next, AnimData::nla_tracks, NLATRACK_OVERRIDELIBRARY_LOCAL, NLATRACK_SELECTED, NULL, and NlaTrack::prev.
Referenced by BKE_nla_action_stash(), BKE_nlastack_add_strip(), nlaedit_add_actionclip_exec(), nlaedit_add_sound_exec(), nlaedit_add_tracks_empty(), nlaedit_add_tracks_existing(), nlaedit_duplicate_exec(), nlaedit_snap_exec(), nlastrips_to_animdata(), and object_speaker_add_exec().
| bool BKE_nlatrack_add_strip | ( | struct NlaTrack * | nlt, |
| struct NlaStrip * | strip, | ||
| const bool | is_liboverride | ||
| ) |
Definition at line 1149 of file nla.c.
References BKE_nlastrips_add_strip(), ELEM, NlaTrack::flag, NLATRACK_OVERRIDELIBRARY_LOCAL, NLATRACK_PROTECTED, NULL, and NlaTrack::strips.
Referenced by BKE_nla_action_stash(), BKE_nlastack_add_strip(), nlaedit_add_actionclip_exec(), nlaedit_add_sound_exec(), nlaedit_duplicate_exec(), nlaedit_move_down_exec(), nlaedit_move_up_exec(), nlaedit_snap_exec(), nlaedit_swap_exec(), nlastrips_to_animdata(), object_speaker_add_exec(), and recalcData_nla().
| struct NlaTrack* BKE_nlatrack_copy | ( | Main * | bmain, |
| NlaTrack * | nlt, | ||
| const bool | use_same_actions, | ||
| const int | flag | ||
| ) |
Copy a single NLA Track.
| flag | Control ID pointers management, see LIB_ID_CREATE_.../LIB_ID_COPY_... flags in BKE_lib_id.h |
Definition at line 223 of file nla.c.
References BKE_nlastrip_copy(), BLI_addtail(), BLI_listbase_clear(), ListBase::first, MEM_dupallocN, NlaStrip::next, NlaTrack::next, NULL, NlaTrack::prev, and NlaTrack::strips.
Referenced by BKE_nla_tracks_copy().
Definition at line 995 of file nla.c.
References ELEM, ListBase::first, NlaTrack::flag, NlaTrack::next, NLATRACK_ACTIVE, NULL, and tracks.
Referenced by BKE_nla_tweakedit_remap().
Definition at line 1020 of file nla.c.
References AnimData::actstrip, BLI_findindex(), ListBase::first, NlaTrack::flag, G, G_DEBUG, NlaStrip::name, NlaTrack::name, NlaTrack::next, AnimData::nla_tracks, NLATRACK_ACTIVE, NLATRACK_DISABLED, NULL, and NlaTrack::strips.
Referenced by action_layer_next_exec(), action_layer_prev_exec(), BKE_nla_tweakedit_remap(), and nlaedit_enable_tweakmode_exec().
Definition at line 114 of file nla.c.
References BKE_nlastrip_free(), BLI_freelinkN(), ListBase::first, MEM_freeN, NlaStrip::next, NULL, NlaTrack::strips, and tracks.
Referenced by BKE_nla_tracks_free(), ED_animedit_unlink_action(), and nlaedit_delete_tracks_exec().
Definition at line 1169 of file nla.c.
References bounds(), ELEM, NlaStrip::end, ListBase::first, ListBase::last, NULL, NlaStrip::start, and NlaTrack::strips.
| bool BKE_nlatrack_has_animated_strips | ( | struct NlaTrack * | nlt | ) |
Definition at line 1474 of file nla.c.
References ELEM, NlaStrip::fcurves, ListBase::first, NlaStrip::next, NULL, and NlaTrack::strips.
Referenced by BKE_nlatracks_have_animated_strips().
Definition at line 1112 of file nla.c.
References BKE_nlastrips_has_space(), NlaTrack::flag, IS_EQF, NLATRACK_PROTECTED, NULL, NlaTrack::strips, and SWAP.
Referenced by nlaedit_move_down_exec(), nlaedit_move_up_exec(), and recalcData_nla().
Referenced by nla_fmodifier_add_exec(), nla_fmodifier_paste_exec(), nlaedit_add_meta_exec(), nlaedit_delete_exec(), nlaedit_delete_tracks_exec(), nlaedit_move_down_exec(), nlaedit_move_up_exec(), nlaedit_remove_meta_exec(), nlaedit_split_exec(), nlaedit_swap_exec(), rearrange_animchannels_filter_visible(), rearrange_nla_channels(), and recalcData_nla().
Definition at line 1091 of file nla.c.
References ELEM, ListBase::first, NlaTrack::flag, NlaTrack::next, NLATRACK_ACTIVE, NULL, and tracks.
Referenced by BKE_nlatrack_add().
Definition at line 1054 of file nla.c.
References ADT_NLA_SOLO_TRACK, ELEM, ListBase::first, NlaTrack::flag, AnimData::flag, NlaTrack::next, AnimData::nla_tracks, NLATRACK_SOLO, and NULL.
Referenced by achannel_nlatrack_solo_widget_cb(), mouse_nla_channels(), nlaedit_disable_tweakmode(), and nlaedit_enable_tweakmode_exec().
| void BKE_nlatrack_sort_strips | ( | struct NlaTrack * | nlt | ) |
Definition at line 1135 of file nla.c.
References BKE_nlastrips_sort_strips(), ELEM, ListBase::first, NULL, and NlaTrack::strips.
Referenced by special_aftertrans_update__nla().
| bool BKE_nlatracks_have_animated_strips | ( | ListBase * | tracks | ) |
Definition at line 1495 of file nla.c.
References BKE_nlatrack_has_animated_strips(), ELEM, ListBase::first, NlaTrack::next, NULL, and tracks.