Blender
V3.3
|
#include <algorithm>
#include <cfloat>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <optional>
#include "MEM_guardedalloc.h"
#include "BLI_array.hh"
#include "BLI_dlrbTree.h"
#include "BLI_listbase.h"
#include "BLI_math.h"
#include "BLI_range.h"
#include "BLI_utildefines.h"
#include "DNA_anim_types.h"
#include "DNA_cachefile_types.h"
#include "DNA_gpencil_types.h"
#include "DNA_mask_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "BKE_fcurve.h"
#include "ED_anim_api.h"
#include "ED_keyframes_keylist.h"
Go to the source code of this file.
Classes | |
struct | AnimKeylist |
struct | BezTripleChain |
Typedefs | |
using | KeylistCreateColumnFunction = std::function< ActKeyColumn *(void *userdata)> |
using | KeylistUpdateColumnFunction = std::function< void(ActKeyColumn *, void *)> |
Variables | |
static const ActKeyBlockInfo | dummy_keyblock = {0} |
using KeylistCreateColumnFunction = std::function<ActKeyColumn *(void *userdata)> |
Definition at line 582 of file keyframes_keylist.cc.
using KeylistUpdateColumnFunction = std::function<void(ActKeyColumn *, void *)> |
Definition at line 583 of file keyframes_keylist.cc.
void action_to_keylist | ( | AnimData * | adt, |
bAction * | act, | ||
AnimKeylist * | keylist, | ||
const int | saction_flag | ||
) |
Definition at line 1089 of file keyframes_keylist.cc.
References bAction::curves, fcurve_to_keylist(), and LISTBASE_FOREACH.
Referenced by actkeys_list_element_to_keylist(), animviz_calc_motionpaths(), ED_keylist_draw_list_elem_build_keylist(), nla_action_draw_keyframes(), and poselib_sanitize_exec().
int actkeyblock_get_valid_hold | ( | const ActKeyColumn * | ac | ) |
Checks if ActKeyColumn can be used as a block (i.e. drawn/used to detect "holds").
Definition at line 874 of file keyframes_keylist.cc.
References ACTKEYBLOCK_FLAG_ANY_HOLD, ACTKEYBLOCK_FLAG_STATIC_HOLD, actkeyblock_is_valid(), ActKeyColumn::block, ActKeyBlockInfo::conflict, and ActKeyBlockInfo::flag.
Referenced by draw_keylist_block(), and pose_propagate_get_boneHoldEndFrame().
bool actkeyblock_is_valid | ( | const ActKeyColumn * | ac | ) |
Checks if ActKeyColumn has any block data.
Definition at line 869 of file keyframes_keylist.cc.
References ActKeyColumn::next, and ActKeyColumn::totblock.
Referenced by actkeyblock_get_valid_hold(), and draw_keylist_block().
|
static |
Definition at line 775 of file keyframes_keylist.cc.
References add_keyblock_info(), BLI_assert, ActKeyColumn::cfra, col, compute_keyblock_data(), dummy_keyblock, ED_keylist_find_exact_or_neighbor_column(), ListBase::first, is_cfra_lt(), AnimKeylist::key_columns, v, and BezTriple::vec.
Referenced by update_keyblocks().
|
static |
Definition at line 673 of file keyframes_keylist.cc.
References BezTripleChain::cur, ED_keylist_add_or_update_column(), ELEM, nalloc_ak_bezt(), nupdate_ak_bezt(), and BezTriple::vec.
Referenced by fcurve_to_keylist().
|
static |
Definition at line 684 of file keyframes_keylist.cc.
References ED_keylist_add_or_update_column(), ELEM, bGPDframe::framenum, nalloc_ak_gpframe(), and nupdate_ak_gpframe().
Referenced by gpl_to_keylist().
|
static |
Definition at line 757 of file keyframes_keylist.cc.
References col, ActKeyBlockInfo::flag, and ActKeyBlockInfo::sel.
Referenced by add_bezt_to_keyblocks_list().
|
static |
Definition at line 695 of file keyframes_keylist.cc.
References ED_keylist_add_or_update_column(), ELEM, MaskLayerShape::frame, nalloc_ak_masklayshape(), and nupdate_ak_masklayshape().
Referenced by mask_to_keylist().
void agroup_to_keylist | ( | AnimData * | adt, |
bActionGroup * | agrp, | ||
AnimKeylist * | keylist, | ||
const int | saction_flag | ||
) |
Definition at line 1073 of file keyframes_keylist.cc.
References bActionGroup::channels, fcurve_to_keylist(), and LISTBASE_FOREACH.
Referenced by actkeys_list_element_to_keylist(), animviz_calc_motionpaths(), and ED_keylist_draw_list_elem_build_keylist().
|
static |
Definition at line 395 of file keyframes_keylist.cc.
References BEZT_IPO_BEZ, BezTripleChain::cur, BezTriple::ipo, IS_EQF, KEYFRAME_EXTREME_FLAT, KEYFRAME_EXTREME_MAX, KEYFRAME_EXTREME_MIN, KEYFRAME_EXTREME_MIXED, KEYFRAME_EXTREME_NONE, BezTripleChain::next, BezTripleChain::prev, and BezTriple::vec.
Referenced by nalloc_ak_bezt(), and nupdate_ak_bezt().
|
static |
Definition at line 375 of file keyframes_keylist.cc.
References ELEM, BezTriple::h1, BezTriple::h2, HD_AUTO, HD_AUTO_ANIM, HD_FREE, HD_VECT, KEYFRAME_HANDLE_ALIGNED, KEYFRAME_HANDLE_AUTO, KEYFRAME_HANDLE_AUTO_CLAMP, KEYFRAME_HANDLE_FREE, and KEYFRAME_HANDLE_VECTOR.
Referenced by nalloc_ak_bezt(), and nupdate_ak_bezt().
void cachefile_to_keylist | ( | bDopeSheet * | ads, |
CacheFile * | cache_file, | ||
AnimKeylist * | keylist, | ||
const int | saction_flag | ||
) |
Definition at line 996 of file keyframes_keylist.cc.
References bAnimContext::ads, bAnimListElem::adt, CacheFile::adt, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMCONT_CHANNEL, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMTYPE_DSCACHEFILE, bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, fcurve_to_keylist(), filter(), bAnimListElem::id, CacheFile::id, LISTBASE_FOREACH, and bAnimListElem::type.
|
static |
Definition at line 710 of file keyframes_keylist.cc.
References ACTKEYBLOCK_FLAG_ANY_HOLD, ACTKEYBLOCK_FLAG_MOVING_HOLD, ACTKEYBLOCK_FLAG_NON_BEZIER, ACTKEYBLOCK_FLAG_STATIC_HOLD, BEZKEYTYPE, BEZT_IPO_BEZ, BEZT_IPO_ELASTIC, BEZT_ISSEL_ANY, BEZT_KEYTYPE_MOVEHOLD, ELEM, ActKeyBlockInfo::flag, IS_EQF, blender::meshintersect::prev(), ActKeyBlockInfo::sel, and BezTriple::vec.
Referenced by add_bezt_to_keyblocks_list().
|
static |
Definition at line 636 of file keyframes_keylist.cc.
References BLI_addhead(), BLI_assert_msg, BLI_insertlinkafter(), BLI_insertlinkbefore(), ActKeyColumn::cfra, AnimKeylist::column_len, create_func(), ED_keylist_find_exact_or_neighbor_column(), ED_keylist_is_empty(), is_cfra_eq(), is_cfra_lt(), AnimKeylist::is_runtime_initialized, AnimKeylist::key_columns, and AnimKeylist::last_accessed_column.
Referenced by add_bezt_to_keycolumns_list(), add_gpframe_to_keycolumns_list(), and add_masklay_to_keycolumns_list().
bool ED_keylist_all_keys_frame_range | ( | const struct AnimKeylist * | keylist, |
Range2f * | r_frame_range | ||
) |
Definition at line 321 of file keyframes_keylist.cc.
References BLI_assert, ActKeyColumn::cfra, ED_keylist_is_empty(), keylist_first_last(), Range2f::max, and Range2f::min.
Referenced by animviz_motionpath_compute_range(), and nla_action_draw_keyframes().
const ActKeyColumn* ED_keylist_array | ( | const struct AnimKeylist * | keylist | ) |
Definition at line 281 of file keyframes_keylist.cc.
References BLI_assert_msg, AnimKeylist::is_runtime_initialized, AnimKeylist::key_columns, and AnimKeylist::runtime.
Referenced by ED_keylist_draw_list_elem_draw_blocks(), and ED_keylist_draw_list_elem_draw_keys().
int64_t ED_keylist_array_len | ( | const struct AnimKeylist * | keylist | ) |
Definition at line 289 of file keyframes_keylist.cc.
References AnimKeylist::column_len.
Referenced by ED_keylist_draw_list_elem_draw_blocks(), and ED_keylist_draw_list_elem_draw_keys().
|
static |
Definition at line 108 of file keyframes_keylist.cc.
References AnimKeylist::key_columns, LISTBASE_FOREACH_INDEX, and AnimKeylist::runtime.
Referenced by ED_keylist_runtime_init().
AnimKeylist* ED_keylist_create | ( | void | ) |
Definition at line 96 of file keyframes_keylist.cc.
Referenced by actkeys_find_key_in_list_element(), animviz_calc_motionpaths(), animviz_motionpath_compute_range(), blender::editor::animation::tests::create_test_keylist(), ed_keylist_draw_list_add_elem(), find_prev_next_keyframes(), keyframe_jump_exec(), motionpath_calculate_update_range(), nla_action_draw_keyframes(), pose_propagate_get_boneHoldEndFrame(), pose_slide_init(), and poselib_sanitize_exec().
const ActKeyColumn* ED_keylist_find_any_between | ( | const AnimKeylist * | keylist, |
const Range2f | frame_range | ||
) |
Definition at line 260 of file keyframes_keylist.cc.
References BLI_assert_msg, ActKeyColumn::cfra, ED_keylist_find_lower_bound(), ED_keylist_is_empty(), AnimKeylist::is_runtime_initialized, AnimKeylist::key_columns, Range2f::max, Range2f::min, and AnimKeylist::runtime.
Referenced by actkeys_find_key_in_list_element().
const ActKeyColumn* ED_keylist_find_exact | ( | const AnimKeylist * | keylist, |
const float | cfra | ||
) |
Definition at line 200 of file keyframes_keylist.cc.
References BLI_assert_msg, ActKeyColumn::cfra, ED_keylist_find_lower_bound(), ED_keylist_is_empty(), is_cfra_eq(), AnimKeylist::is_runtime_initialized, AnimKeylist::key_columns, and AnimKeylist::runtime.
Referenced by blender::editor::animation::tests::check_keylist_find_exact_range(), motionpaths_calc_bake_targets(), pose_propagate_get_boneHoldEndFrame(), and pose_slide_invoke_common().
|
static |
Definition at line 613 of file keyframes_keylist.cc.
References BLI_assert, ActKeyColumn::cfra, ED_keylist_find_neighbor_back_to_front(), ED_keylist_find_neighbor_front_to_back(), ED_keylist_is_empty(), ListBase::first, is_cfra_eq(), AnimKeylist::is_runtime_initialized, AnimKeylist::key_columns, and AnimKeylist::last_accessed_column.
Referenced by add_bezt_to_keyblocks_list(), and ED_keylist_add_or_update_column().
|
static |
Definition at line 168 of file keyframes_keylist.cc.
References BLI_assert, ActKeyColumn::cfra, ED_keylist_is_empty(), is_cfra_lt(), AnimKeylist::key_columns, and AnimKeylist::runtime.
Referenced by ED_keylist_find_any_between(), ED_keylist_find_exact(), and ED_keylist_find_prev().
|
static |
Definition at line 597 of file keyframes_keylist.cc.
References ActKeyColumn::cfra, and ActKeyColumn::prev.
Referenced by ED_keylist_find_exact_or_neighbor_column().
|
static |
Definition at line 587 of file keyframes_keylist.cc.
References ActKeyColumn::cfra, and ActKeyColumn::next.
Referenced by ED_keylist_find_exact_or_neighbor_column().
const ActKeyColumn* ED_keylist_find_next | ( | const AnimKeylist * | keylist, |
const float | cfra | ||
) |
Definition at line 221 of file keyframes_keylist.cc.
References BLI_assert_msg, ED_keylist_find_upper_bound(), ED_keylist_is_empty(), AnimKeylist::is_runtime_initialized, AnimKeylist::key_columns, and AnimKeylist::runtime.
Referenced by blender::editor::animation::tests::check_keylist_find_next_range(), find_prev_next_keyframes(), keyframe_jump_exec(), motionpath_get_next_keyframe(), pose_propagate_get_boneHoldEndFrame(), and pose_slide_invoke_common().
const ActKeyColumn* ED_keylist_find_prev | ( | const AnimKeylist * | keylist, |
const float | cfra | ||
) |
Definition at line 239 of file keyframes_keylist.cc.
References BLI_assert_msg, ED_keylist_find_lower_bound(), ED_keylist_is_empty(), AnimKeylist::is_runtime_initialized, AnimKeylist::key_columns, ActKeyColumn::prev, and AnimKeylist::runtime.
Referenced by blender::editor::animation::tests::check_keylist_find_prev_range(), find_prev_next_keyframes(), keyframe_jump_exec(), motionpath_get_prev_keyframe(), pose_propagate_get_boneHoldEndFrame(), and pose_slide_invoke_common().
|
static |
Definition at line 184 of file keyframes_keylist.cc.
References BLI_assert, ActKeyColumn::cfra, ED_keylist_is_empty(), is_cfra_lt(), AnimKeylist::key_columns, and AnimKeylist::runtime.
Referenced by ED_keylist_find_next().
void ED_keylist_free | ( | AnimKeylist * | keylist | ) |
Definition at line 102 of file keyframes_keylist.cc.
References BLI_assert.
Referenced by actkeys_find_key_in_list_element(), animviz_calc_motionpaths(), animviz_motionpath_compute_range(), ED_keylist_draw_list_free(), find_prev_next_keyframes(), keyframe_jump_exec(), motionpath_calculate_update_range(), motionpath_free_free_tree_data(), nla_action_draw_keyframes(), pose_propagate_get_boneHoldEndFrame(), pose_slide_exit(), poselib_sanitize_exec(), and blender::editor::animation::tests::TEST().
bool ED_keylist_is_empty | ( | const struct AnimKeylist * | keylist | ) |
Definition at line 294 of file keyframes_keylist.cc.
References AnimKeylist::column_len.
Referenced by ED_keylist_add_or_update_column(), ED_keylist_all_keys_frame_range(), ED_keylist_find_any_between(), ED_keylist_find_exact(), ED_keylist_find_exact_or_neighbor_column(), ED_keylist_find_lower_bound(), ED_keylist_find_next(), ED_keylist_find_prev(), ED_keylist_find_upper_bound(), ED_keylist_runtime_init_listbase(), ED_keylist_selected_keys_frame_range(), nla_action_draw_keyframes(), and pose_slide_invoke_common().
const struct ListBase* ED_keylist_listbase | ( | const AnimKeylist * | keylist | ) |
Definition at line 299 of file keyframes_keylist.cc.
References AnimKeylist::is_runtime_initialized, AnimKeylist::key_columns, AnimKeylist::list_wrapper, and AnimKeylist::runtime.
Referenced by ED_keylist_draw_list_visible_key_len(), nla_action_draw_keyframes(), and poselib_sanitize_exec().
void ED_keylist_prepare_for_direct_access | ( | AnimKeylist * | keylist | ) |
Definition at line 160 of file keyframes_keylist.cc.
References ED_keylist_runtime_init(), and AnimKeylist::is_runtime_initialized.
Referenced by actkeys_find_key_in_list_element(), animviz_calc_motionpaths(), blender::editor::animation::tests::create_test_keylist(), ED_keylist_draw_list_elem_prepare_for_drawing(), find_prev_next_keyframes(), keyframe_jump_exec(), motionpath_calculate_update_range(), pose_propagate_get_boneHoldEndFrame(), and pose_slide_invoke_common().
|
static |
Definition at line 154 of file keyframes_keylist.cc.
References BLI_assert, AnimKeylist::is_runtime_initialized, and AnimKeylist::last_accessed_column.
Referenced by fcurve_to_keylist(), gpl_to_keylist(), and mask_to_keylist().
|
static |
Definition at line 139 of file keyframes_keylist.cc.
References BLI_assert, AnimKeylist::column_len, ED_keylist_convert_key_columns_to_array(), ED_keylist_runtime_init_listbase(), ED_keylist_runtime_update_key_column_next_prev(), AnimKeylist::is_runtime_initialized, AnimKeylist::key_columns, and AnimKeylist::runtime.
Referenced by ED_keylist_prepare_for_direct_access().
|
static |
Definition at line 128 of file keyframes_keylist.cc.
References BLI_listbase_clear(), AnimKeylist::column_len, ED_keylist_is_empty(), ListBase::first, AnimKeylist::key_columns, ListBase::last, AnimKeylist::list_wrapper, and AnimKeylist::runtime.
Referenced by ED_keylist_runtime_init().
|
static |
Definition at line 116 of file keyframes_keylist.cc.
References AnimKeylist::column_len, AnimKeylist::key_columns, and AnimKeylist::runtime.
Referenced by ED_keylist_runtime_init().
bool ED_keylist_selected_keys_frame_range | ( | const struct AnimKeylist * | keylist, |
Range2f * | r_frame_range | ||
) |
Definition at line 338 of file keyframes_keylist.cc.
References BLI_assert, ActKeyColumn::cfra, ED_keylist_is_empty(), keylist_first_last(), Range2f::max, Range2f::min, ActKeyColumn::next, ActKeyColumn::prev, ActKeyColumn::sel, and SELECT.
Referenced by animviz_motionpath_compute_range().
void fcurve_to_keylist | ( | AnimData * | adt, |
FCurve * | fcu, | ||
AnimKeylist * | keylist, | ||
const int | saction_flag | ||
) |
Definition at line 1031 of file keyframes_keylist.cc.
References add_bezt_to_keycolumns_list(), ANIM_nla_mapping_apply_fcurve(), FCurve::bezt, BKE_fcurve_is_cyclic(), BezTripleChain::cur, ED_keylist_reset_last_accessed(), is_cyclic(), BezTripleChain::next, BezTripleChain::prev, SACTION_SHOW_EXTREMES, FCurve::totvert, update_keyblocks(), and v.
Referenced by action_to_keylist(), actkeys_list_element_to_keylist(), agroup_to_keylist(), animviz_motionpath_compute_range(), cachefile_to_keylist(), blender::editor::animation::tests::create_test_keylist(), ED_keylist_draw_list_elem_build_keylist(), motionpath_calculate_update_range(), ob_to_keylist(), pose_propagate_get_boneHoldEndFrame(), pose_slide_invoke_common(), scene_to_keylist(), and summary_to_keylist().
void gpencil_to_keylist | ( | bDopeSheet * | ads, |
bGPdata * | gpd, | ||
AnimKeylist * | keylist, | ||
const bool | active | ||
) |
Definition at line 1099 of file keyframes_keylist.cc.
References blender::compositor::active, GP_LAYER_HIDE, GP_LAYER_SELECT, gpl_to_keylist(), bGPdata::layers, and LISTBASE_FOREACH_BACKWARD.
Referenced by find_prev_next_keyframes(), and keyframe_jump_exec().
void gpl_to_keylist | ( | bDopeSheet * | UNUSEDads, |
bGPDlayer * | gpl, | ||
AnimKeylist * | keylist | ||
) |
Definition at line 1113 of file keyframes_keylist.cc.
References add_gpframe_to_keycolumns_list(), ED_keylist_reset_last_accessed(), bGPDlayer::frames, LISTBASE_FOREACH, and update_keyblocks().
Referenced by actkeys_list_element_to_keylist(), ED_keylist_draw_list_elem_build_keylist(), gpencil_to_keylist(), and summary_to_keylist().
BLI_INLINE bool is_cfra_eq | ( | const float | a, |
const float | b | ||
) |
Definition at line 44 of file keyframes_keylist.cc.
References Freestyle::a, usdtokens::b(), BEZT_BINARYSEARCH_THRESH, and IS_EQT.
Referenced by ED_keylist_add_or_update_column(), ED_keylist_find_exact(), and ED_keylist_find_exact_or_neighbor_column().
BLI_INLINE bool is_cfra_lt | ( | const float | a, |
const float | b | ||
) |
Definition at line 49 of file keyframes_keylist.cc.
References Freestyle::a, usdtokens::b(), and BEZT_BINARYSEARCH_THRESH.
Referenced by add_bezt_to_keyblocks_list(), ED_keylist_add_or_update_column(), ED_keylist_find_lower_bound(), and ED_keylist_find_upper_bound().
|
static |
Definition at line 307 of file keyframes_keylist.cc.
References AnimKeylist::column_len, ListBase::first, AnimKeylist::is_runtime_initialized, AnimKeylist::key_columns, ListBase::last, and AnimKeylist::runtime.
Referenced by ED_keylist_all_keys_frame_range(), and ED_keylist_selected_keys_frame_range().
void mask_to_keylist | ( | bDopeSheet * | UNUSEDads, |
MaskLayer * | masklay, | ||
AnimKeylist * | keylist | ||
) |
Definition at line 1127 of file keyframes_keylist.cc.
References add_masklay_to_keycolumns_list(), ED_keylist_reset_last_accessed(), LISTBASE_FOREACH, MaskLayer::splines_shapes, and update_keyblocks().
Referenced by actkeys_list_element_to_keylist(), ED_keylist_draw_list_elem_build_keylist(), find_prev_next_keyframes(), keyframe_jump_exec(), and summary_to_keylist().
|
static |
Definition at line 447 of file keyframes_keylist.cc.
References BEZKEYTYPE, bezt_extreme_type(), bezt_handle_type(), BEZT_ISSEL_ANY, ActKeyColumn::cfra, BezTripleChain::cur, data, ActKeyColumn::extreme_type, ActKeyColumn::handle_type, ActKeyColumn::key_type, MEM_callocN, ActKeyColumn::sel, SELECT, ActKeyColumn::totkey, and BezTriple::vec.
Referenced by add_bezt_to_keycolumns_list().
|
static |
Definition at line 507 of file keyframes_keylist.cc.
References ACTKEYBLOCK_FLAG_GPENCIL, ActKeyColumn::block, ActKeyColumn::cfra, data, ActKeyBlockInfo::flag, bGPDframe::flag, bGPDframe::framenum, GP_FRAME_SELECT, ActKeyColumn::key_type, bGPDframe::key_type, MEM_callocN, ActKeyBlockInfo::sel, ActKeyColumn::sel, SELECT, ActKeyColumn::totblock, and ActKeyColumn::totkey.
Referenced by add_gpframe_to_keycolumns_list().
|
static |
Definition at line 551 of file keyframes_keylist.cc.
References ActKeyColumn::cfra, data, MaskLayerShape::flag, MaskLayerShape::frame, MASK_SHAPE_SELECT, MEM_callocN, ActKeyColumn::sel, SELECT, and ActKeyColumn::totkey.
Referenced by add_masklay_to_keycolumns_list().
|
static |
Definition at line 468 of file keyframes_keylist.cc.
References BEZKEYTYPE, bezt_extreme_type(), bezt_handle_type(), BEZT_ISSEL_ANY, BEZT_KEYTYPE_KEYFRAME, BezTripleChain::cur, data, ActKeyColumn::extreme_type, ActKeyColumn::handle_type, ActKeyColumn::key_type, KEYFRAME_EXTREME_FLAT, KEYFRAME_EXTREME_MIXED, MAX2, ActKeyColumn::sel, SELECT, and ActKeyColumn::totkey.
Referenced by add_bezt_to_keycolumns_list().
|
static |
Definition at line 529 of file keyframes_keylist.cc.
References BEZT_KEYTYPE_KEYFRAME, data, bGPDframe::flag, GP_FRAME_SELECT, ActKeyColumn::key_type, bGPDframe::key_type, ActKeyColumn::sel, SELECT, and ActKeyColumn::totkey.
Referenced by add_gpframe_to_keycolumns_list().
|
static |
Definition at line 568 of file keyframes_keylist.cc.
References data, MaskLayerShape::flag, MASK_SHAPE_SELECT, ActKeyColumn::sel, SELECT, and ActKeyColumn::totkey.
Referenced by add_masklay_to_keycolumns_list().
void ob_to_keylist | ( | bDopeSheet * | ads, |
Object * | ob, | ||
AnimKeylist * | keylist, | ||
const int | saction_flag | ||
) |
Definition at line 959 of file keyframes_keylist.cc.
References bAnimContext::ads, bAnimListElem::adt, Object::adt, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMCONT_CHANNEL, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMTYPE_OBJECT, bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, fcurve_to_keylist(), filter(), bAnimListElem::id, Object::id, LISTBASE_FOREACH, Base::object, and bAnimListElem::type.
Referenced by actkeys_list_element_to_keylist(), ED_keylist_draw_list_elem_build_keylist(), find_prev_next_keyframes(), and keyframe_jump_exec().
void scene_to_keylist | ( | bDopeSheet * | ads, |
Scene * | sce, | ||
AnimKeylist * | keylist, | ||
const int | saction_flag | ||
) |
Definition at line 924 of file keyframes_keylist.cc.
References bAnimContext::ads, bAnimListElem::adt, Scene::adt, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMCONT_CHANNEL, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMTYPE_SCENE, bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, fcurve_to_keylist(), filter(), bAnimListElem::id, Scene::id, LISTBASE_FOREACH, and bAnimListElem::type.
Referenced by actkeys_list_element_to_keylist(), ED_keylist_draw_list_elem_build_keylist(), find_prev_next_keyframes(), and keyframe_jump_exec().
void summary_to_keylist | ( | bAnimContext * | ac, |
AnimKeylist * | keylist, | ||
const int | saction_flag | ||
) |
Definition at line 887 of file keyframes_keylist.cc.
References bAnimContext::ads, ALE_FCURVE, ALE_GPFRAME, ALE_MASKLAY, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMFILTER_DATA_VISIBLE, bAnimContext::data, bAnimContext::datatype, fcurve_to_keylist(), filter(), gpl_to_keylist(), LISTBASE_FOREACH, and mask_to_keylist().
Referenced by actkeys_list_element_to_keylist(), and ED_keylist_draw_list_elem_build_keylist().
|
static |
Definition at line 837 of file keyframes_keylist.cc.
References add_bezt_to_keyblocks_list(), ActKeyColumn::block, col, AnimKeylist::key_columns, LISTBASE_FOREACH, MAX2, and ActKeyColumn::totblock.
Referenced by fcurve_to_keylist(), gpl_to_keylist(), and mask_to_keylist().
|
static |
Definition at line 708 of file keyframes_keylist.cc.
Referenced by add_bezt_to_keyblocks_list().