Blender V2.61 - r43446
|
Go to the source code of this file.
Definition in file BKE_nla.h.
anonymous enum |
Definition at line 347 of file nla.c.
References AUD_getInfo(), NlaStrip::end, NlaStrip::extendmode, NlaStrip::flag, FPS, AUD_SoundInfo::length, MEM_callocN(), NLASTRIP_EXTEND_NOTHING, NLASTRIP_FLAG_SELECT, NLASTRIP_TYPE_SOUND, bSound::playback_handle, NlaStrip::repeat, NlaStrip::scale, Speaker::sound, io_export_cycles_xml::strip(), and NlaStrip::type.
Referenced by nlaedit_add_sound_exec(), and object_speaker_add_exec().
Definition at line 274 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_AUTO_BLENDS, NLASTRIP_FLAG_SELECT, NULL, NlaStrip::repeat, NlaStrip::scale, NlaStrip::start, and io_export_cycles_xml::strip().
Referenced by add_nlastrip_to_stack(), and nlaedit_add_actionclip_exec().
Definition at line 316 of file nla.c.
References add_nlastrip(), add_nlatrack(), BKE_nlastrip_validate_name(), BKE_nlatrack_add_strip(), ELEM, ListBase::last, AnimData::nla_tracks, NULL, and io_export_cycles_xml::strip().
Referenced by animrecord_check_state(), and BKE_nla_action_pushdown().
Definition at line 243 of file nla.c.
References BKE_nlatrack_set_active(), BLI_addtail(), BLI_countlist(), BLI_insertlinkafter(), BLI_uniquename(), NlaTrack::flag, NlaTrack::index, MEM_callocN(), NlaTrack::name, AnimData::nla_tracks, NLATRACK_SELECTED, and NULL.
Referenced by add_nlastrip_to_stack(), nlaedit_add_actionclip_exec(), nlaedit_add_sound_exec(), nlaedit_add_tracks_exec(), nlaedit_duplicate_exec(), nlaedit_snap_exec(), nlastrips_to_animdata(), and object_speaker_add_exec().
void BKE_nla_action_pushdown | ( | struct AnimData * | adt | ) |
Definition at line 1468 of file nla.c.
References AnimData::action, action_has_motion(), add_nlastrip_to_stack(), BKE_nlastrip_set_active(), ELEM, NlaStrip::extendmode, bAction::id, id_us_min(), NLASTRIP_EXTEND_HOLD_FORWARD, nlastrip_is_first(), NULL, and io_export_cycles_xml::strip().
Referenced by BKE_nla_bake(), and mouse_nla_channels().
float BKE_nla_tweakedit_remap | ( | struct AnimData * | adt, |
float | cframe, | ||
short | mode | ||
) |
Definition at line 510 of file nla.c.
References AnimData::actstrip, ADT_NLA_EDIT_NOMAP, ADT_NLA_EDIT_ON, BKE_nlastrip_find_active(), BKE_nlatrack_find_active(), NlaStrip::flag, AnimData::flag, AnimData::nla_tracks, NLASTRIP_FLAG_USR_TIME, nlastrip_get_frame(), NULL, and io_export_cycles_xml::strip().
Referenced by actkeys_mselect_column(), applyTimeScale(), applyTimeSlide(), applyTimeTranslate(), bezt_nlamapping_apply(), bezt_nlamapping_restore(), bezt_to_transdata(), borderselect_action(), columnselect_action_keys(), columnselect_graph_keys(), createTransActionData(), delete_keyframe(), doAnimEdit_SnapFrame(), draw_ghost_poses(), flushTransGraphData(), get_graph_keyframe_extents(), get_keyframe_extents(), graphkeys_click_insert_exec(), graphkeys_mselect_column(), insert_action_keys(), insert_graph_keys(), insert_keyframe(), and mouse_action_keys().
short BKE_nla_tweakmode_enter | ( | struct AnimData * | adt | ) |
Definition at line 1516 of file nla.c.
References NlaStrip::act, AnimData::action, AnimData::actstrip, ADT_NLA_EDIT_ON, BKE_nlastrip_find_active(), ELEM, ELEM3, ListBase::first, AnimData::flag, NlaStrip::flag, NlaTrack::flag, G, G_DEBUG, bAction::id, id_us_plus(), NlaTrack::next, NlaStrip::next, AnimData::nla_tracks, NLASTRIP_FLAG_TWEAKUSER, NLATRACK_ACTIVE, NLATRACK_DISABLED, NULL, NlaTrack::prev, io_export_cycles_xml::strip(), NlaTrack::strips, and AnimData::tmpact.
Referenced by nlaedit_enable_tweakmode_exec().
void BKE_nla_tweakmode_exit | ( | struct AnimData * | adt | ) |
Definition at line 1589 of file nla.c.
References AnimData::action, AnimData::actstrip, ADT_NLA_EDIT_ON, ELEM, ListBase::first, AnimData::flag, NlaStrip::flag, NlaTrack::flag, bAction::id, NlaTrack::next, NlaStrip::next, AnimData::nla_tracks, NLASTRIP_FLAG_TWEAKUSER, NLATRACK_DISABLED, NULL, io_export_cycles_xml::strip(), NlaTrack::strips, AnimData::tmpact, and ID::us.
Referenced by nlaedit_disable_tweakmode_exec().
void BKE_nla_validate_state | ( | struct AnimData * | adt | ) |
Definition at line 1422 of file nla.c.
References BKE_nlastrip_validate_autoblends(), ELEM, NlaStrip::extendmode, ListBase::first, NlaTrack::next, NlaStrip::next, AnimData::nla_tracks, NLASTRIP_EXTEND_HOLD, NLASTRIP_EXTEND_HOLD_FORWARD, NLASTRIP_EXTEND_NOTHING, NULL, NlaStrip::start, io_export_cycles_xml::strip(), and NlaTrack::strips.
Referenced by ED_nla_postop_refresh().
Definition at line 770 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 820 of file nla.c.
References BKE_nlameta_flush_transforms(), ELEM, NlaStrip::end, ListBase::first, IS_EQF, ListBase::last, NlaStrip::next, NLASTRIP_TYPE_META, NULL, RNA_float_set(), RNA_NlaStrip, RNA_pointer_create(), NlaStrip::start, io_export_cycles_xml::strip(), NlaStrip::strips, and NlaStrip::type.
Referenced by BKE_nlameta_flush_transforms(), nlaedit_snap_exec(), nlaedit_swap_exec(), and recalcData_nla().
Definition at line 1046 of file nla.c.
References ELEM, ListBase::first, NlaStrip::flag, NlaStrip::next, NLASTRIP_FLAG_ACTIVE, NULL, io_export_cycles_xml::strip(), and NlaTrack::strips.
Referenced by BKE_nla_tweakedit_remap(), BKE_nla_tweakmode_enter(), and nla_panel_context().
void BKE_nlastrip_recalculate_bounds | ( | struct NlaStrip * | strip | ) |
Definition at line 1120 of file nla.c.
References NlaStrip::actend, NlaStrip::actstart, NlaStrip::end, IS_EQF, NLASTRIP_TYPE_CLIP, NULL, NlaStrip::repeat, NlaStrip::scale, NlaStrip::start, and NlaStrip::type.
Referenced by nlaedit_sync_actlen_exec().
Definition at line 1065 of file nla.c.
References ListBase::first, NlaStrip::flag, NlaTrack::next, NlaStrip::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 1213 of file nla.c.
References BLI_addtail(), BLI_strdupn(), FCURVE_SELECTED, FCURVE_VISIBLE, NlaStrip::fcurves, FCurve::flag, NlaStrip::flag, list_find_fcurve(), MEM_callocN(), NLASTRIP_FLAG_USR_INFLUENCE, NLASTRIP_FLAG_USR_TIME, NULL, and FCurve::rna_path.
Definition at line 1276 of file nla.c.
References NlaStrip::act, BLI_ghash_free(), BLI_ghash_insert(), BLI_ghash_new(), BLI_ghashutil_strcmp(), BLI_ghashutil_strhash(), BLI_strncpy(), BLI_uniquename_cb(), ELEM, ListBase::first, bAction::id, ID::name, NlaStrip::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 add_nlastrip_to_stack(), nlaedit_add_actionclip_exec(), nlaedit_add_meta_exec(), nlaedit_add_sound_exec(), nlaedit_add_transition_exec(), nlaedit_duplicate_exec(), nlaedit_split_strip_actclip(), and object_speaker_add_exec().
short BKE_nlastrip_within_bounds | ( | struct NlaStrip * | strip, |
float | min, | ||
float | max | ||
) |
Definition at line 1087 of file nla.c.
References NlaStrip::end, fabsf, IN_RANGE, IS_EQF, NULL, NlaStrip::start, and io_export_cycles_xml::strip().
Referenced by borderselect_nla_strips(), draw_nla_main_data(), mouse_nla_strips(), and nlaedit_select_leftright().
Definition at line 628 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, |
short | onlySel, | ||
short | onlyTemp | ||
) |
Definition at line 743 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, io_export_cycles_xml::strip(), and NlaStrip::type.
Referenced by nlaedit_remove_meta_exec(), nlaedit_snap_exec(), nlaedit_swap_exec(), and special_aftertrans_update().
Definition at line 718 of file nla.c.
References BLI_insertlinkbefore(), BLI_remlink(), ELEM, ListBase::first, free_nlastrip(), NlaStrip::next, NULL, and NlaStrip::strips.
Referenced by BKE_nlastrips_clear_metas(), and nlaedit_split_strip_meta().
short BKE_nlastrips_has_space | ( | ListBase * | strips, |
float | start, | ||
float | end | ||
) |
Definition at line 550 of file nla.c.
References NlaStrip::end, ListBase::first, IS_EQF, NlaStrip::next, NULL, NlaStrip::start, io_export_cycles_xml::strip(), 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, |
short | temp | ||
) |
Definition at line 666 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, io_export_cycles_xml::strip(), 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 584 of file nla.c.
References BLI_addhead(), BLI_insertlinkafter(), BLI_remlink(), ELEM, NlaStrip::end, ListBase::first, ListBase::last, NlaStrip::next, NULL, NlaStrip::prev, NlaStrip::start, and io_export_cycles_xml::strip().
Referenced by BKE_nlatrack_sort_strips().
Definition at line 1004 of file nla.c.
References BKE_nlastrips_add_strip(), ELEM, NULL, and NlaTrack::strips.
Referenced by add_nlastrip_to_stack(), 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().
Definition at line 898 of file nla.c.
References ELEM, ListBase::first, NlaTrack::flag, NlaTrack::next, NLATRACK_ACTIVE, and NULL.
Referenced by BKE_nla_tweakedit_remap().
short BKE_nlatrack_get_bounds | ( | struct NlaTrack * | nlt, |
float | bounds[2] | ||
) |
Definition at line 1017 of file nla.c.
References ELEM, NlaStrip::end, ListBase::first, ListBase::last, NULL, NlaStrip::start, io_export_cycles_xml::strip(), and NlaTrack::strips.
short BKE_nlatrack_has_animated_strips | ( | struct NlaTrack * | nlt | ) |
Definition at line 1175 of file nla.c.
References ELEM, NlaStrip::fcurves, ListBase::first, NlaStrip::next, NULL, io_export_cycles_xml::strip(), and NlaTrack::strips.
Referenced by BKE_nlatracks_have_animated_strips().
short BKE_nlatrack_has_space | ( | struct NlaTrack * | nlt, |
float | start, | ||
float | end | ||
) |
Definition at line 969 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().
Definition at line 951 of file nla.c.
References ELEM, ListBase::first, NlaTrack::flag, NlaTrack::next, NLATRACK_ACTIVE, and NULL.
Referenced by add_nlatrack().
Definition at line 919 of file nla.c.
References ADT_NLA_SOLO_TRACK, ELEM, ListBase::first, AnimData::flag, NlaTrack::flag, NlaTrack::next, AnimData::nla_tracks, NLATRACK_SOLO, and NULL.
Referenced by mouse_nla_channels().
void BKE_nlatrack_sort_strips | ( | struct NlaTrack * | nlt | ) |
Definition at line 991 of file nla.c.
References BKE_nlastrips_sort_strips(), ELEM, ListBase::first, NULL, and NlaTrack::strips.
Referenced by special_aftertrans_update().
short BKE_nlatracks_have_animated_strips | ( | ListBase * | tracks | ) |
Definition at line 1194 of file nla.c.
References BKE_nlatrack_has_animated_strips(), ELEM, ListBase::first, NlaTrack::next, and NULL.
Definition at line 219 of file nla.c.
References BLI_addtail(), copy_nlatrack(), ELEM, ListBase::first, ListBase::last, NlaTrack::next, and NULL.
Referenced by BKE_copy_animdata().
Definition at line 159 of file nla.c.
References NlaStrip::act, BLI_addtail(), copy_fcurves(), copy_fmodifiers(), copy_nlastrip(), NlaStrip::fcurves, ListBase::first, bAction::id, id_us_plus(), ListBase::last, MEM_dupallocN(), NlaStrip::modifiers, NlaStrip::next, NULL, NlaStrip::prev, and NlaStrip::strips.
Referenced by copy_nlastrip(), copy_nlatrack(), nlaedit_duplicate_exec(), and nlaedit_split_strip_actclip().
Definition at line 193 of file nla.c.
References BLI_addtail(), copy_nlastrip(), ListBase::first, ListBase::last, MEM_dupallocN(), NlaTrack::next, NlaStrip::next, NULL, NlaTrack::prev, io_export_cycles_xml::strip(), and NlaTrack::strips.
Referenced by copy_nladata().
void free_nladata | ( | ListBase * | tracks | ) |
Definition at line 138 of file nla.c.
References ELEM, ListBase::first, free_nlatrack(), ListBase::last, NlaTrack::next, and NULL.
Referenced by BKE_free_animdata().
Definition at line 76 of file nla.c.
References NlaStrip::act, BLI_freelinkN(), NlaStrip::fcurves, ListBase::first, free_fcurves(), free_fmodifiers(), free_nlastrip(), bAction::id, id_us_min(), MEM_freeN(), NlaStrip::modifiers, NlaStrip::next, NULL, and NlaStrip::strips.
Referenced by BKE_nlastrips_clear_metastrip(), free_nlastrip(), free_nlatrack(), and nlaedit_delete_exec().
Definition at line 114 of file nla.c.
References BLI_freelinkN(), ListBase::first, free_nlastrip(), MEM_freeN(), NlaStrip::next, NULL, io_export_cycles_xml::strip(), and NlaTrack::strips.
Referenced by free_nladata(), and nlaedit_delete_tracks_exec().
enum { ... } eNlaTime_ConvertModes |