|
Blender
V2.93
|
#include <float.h>#include <math.h>#include <stdlib.h>#include <string.h>#include "MEM_guardedalloc.h"#include "BLI_dlrbTree.h"#include "BLI_listbase.h"#include "BLI_math.h"#include "BLI_rect.h"#include "BLI_utildefines.h"#include "DNA_anim_types.h"#include "DNA_brush_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 "GPU_immediate.h"#include "GPU_state.h"#include "UI_interface.h"#include "UI_resources.h"#include "UI_view2d.h"#include "ED_anim_api.h"#include "ED_keyframes_draw.h"Go to the source code of this file.
Classes | |
| struct | BezTripleChain |
Typedefs | |
| typedef struct BezTripleChain | BezTripleChain |
Functions | |
| BLI_INLINE bool | is_cfra_eq (float a, float b) |
| BLI_INLINE bool | is_cfra_lt (float a, float b) |
| short | compare_ak_cfraPtr (void *node, void *data) |
| static eKeyframeHandleDrawOpts | bezt_handle_type (BezTriple *bezt) |
| static eKeyframeExtremeDrawOpts | bezt_extreme_type (BezTripleChain *chain) |
| static short | compare_ak_bezt (void *node, void *data) |
| static DLRBT_Node * | nalloc_ak_bezt (void *data) |
| static void | nupdate_ak_bezt (void *node, void *data) |
| static short | compare_ak_gpframe (void *node, void *data) |
| static DLRBT_Node * | nalloc_ak_gpframe (void *data) |
| static void | nupdate_ak_gpframe (void *node, void *data) |
| static short | compare_ak_masklayshape (void *node, void *data) |
| static DLRBT_Node * | nalloc_ak_masklayshape (void *data) |
| static void | nupdate_ak_masklayshape (void *node, void *data) |
| static void | add_bezt_to_keycolumns_list (DLRBT_Tree *keys, BezTripleChain *bezt) |
| static void | add_gpframe_to_keycolumns_list (DLRBT_Tree *keys, bGPDframe *gpf) |
| static void | add_masklay_to_keycolumns_list (DLRBT_Tree *keys, MaskLayerShape *masklay_shape) |
| static void | compute_keyblock_data (ActKeyBlockInfo *info, BezTriple *prev, BezTriple *beztn) |
| static void | add_keyblock_info (ActKeyColumn *col, const ActKeyBlockInfo *block) |
| static void | add_bezt_to_keyblocks_list (DLRBT_Tree *keys, BezTriple *bezt, int bezt_len) |
| static void | update_keyblocks (DLRBT_Tree *keys, BezTriple *bezt, int bezt_len) |
| bool | actkeyblock_is_valid (ActKeyColumn *ac) |
| int | actkeyblock_get_valid_hold (ActKeyColumn *ac) |
| void | draw_keyframe_shape (float x, float y, float size, bool sel, short key_type, short mode, float alpha, uint pos_id, uint size_id, uint color_id, uint outline_color_id, uint flags_id, short handle_type, short extreme_type) |
| static void | draw_keylist (View2D *v2d, DLRBT_Tree *keys, float ypos, float yscale_fac, bool channelLocked, int saction_flag) |
| void | draw_summary_channel (View2D *v2d, bAnimContext *ac, float ypos, float yscale_fac, int saction_flag) |
| void | draw_scene_channel (View2D *v2d, bDopeSheet *ads, Scene *sce, float ypos, float yscale_fac, int saction_flag) |
| void | draw_object_channel (View2D *v2d, bDopeSheet *ads, Object *ob, float ypos, float yscale_fac, int saction_flag) |
| void | draw_fcurve_channel (View2D *v2d, AnimData *adt, FCurve *fcu, float ypos, float yscale_fac, int saction_flag) |
| void | draw_agroup_channel (View2D *v2d, AnimData *adt, bActionGroup *agrp, float ypos, float yscale_fac, int saction_flag) |
| void | draw_action_channel (View2D *v2d, AnimData *adt, bAction *act, float ypos, float yscale_fac, int saction_flag) |
| void | draw_gpencil_channel (View2D *v2d, bDopeSheet *ads, bGPdata *gpd, float ypos, float yscale_fac, int saction_flag) |
| void | draw_gpl_channel (View2D *v2d, bDopeSheet *ads, bGPDlayer *gpl, float ypos, float yscale_fac, int saction_flag) |
| void | draw_masklay_channel (View2D *v2d, bDopeSheet *ads, MaskLayer *masklay, float ypos, float yscale_fac, int saction_flag) |
| void | summary_to_keylist (bAnimContext *ac, DLRBT_Tree *keys, int saction_flag) |
| void | scene_to_keylist (bDopeSheet *ads, Scene *sce, DLRBT_Tree *keys, int saction_flag) |
| void | ob_to_keylist (bDopeSheet *ads, Object *ob, DLRBT_Tree *keys, int saction_flag) |
| void | cachefile_to_keylist (bDopeSheet *ads, CacheFile *cache_file, DLRBT_Tree *keys, int saction_flag) |
| void | fcurve_to_keylist (AnimData *adt, FCurve *fcu, DLRBT_Tree *keys, int saction_flag) |
| void | agroup_to_keylist (AnimData *adt, bActionGroup *agrp, DLRBT_Tree *keys, int saction_flag) |
| void | action_to_keylist (AnimData *adt, bAction *act, DLRBT_Tree *keys, int saction_flag) |
| void | gpencil_to_keylist (bDopeSheet *ads, bGPdata *gpd, DLRBT_Tree *keys, const bool active) |
| void | gpl_to_keylist (bDopeSheet *UNUSED(ads), bGPDlayer *gpl, DLRBT_Tree *keys) |
| void | mask_to_keylist (bDopeSheet *UNUSED(ads), MaskLayer *masklay, DLRBT_Tree *keys) |
Variables | |
| static const ActKeyBlockInfo | dummy_keyblock = {0} |
| typedef struct BezTripleChain BezTripleChain |
| void action_to_keylist | ( | AnimData * | adt, |
| bAction * | act, | ||
| DLRBT_Tree * | keys, | ||
| int | saction_flag | ||
| ) |
Definition at line 1230 of file keyframes_draw.c.
References bAction::curves, fcurve_to_keylist(), ListBase::first, and FCurve::next.
Referenced by actkeys_list_element_to_keylist(), animviz_calc_motionpaths(), draw_action_channel(), nla_action_draw_keyframes(), and poselib_sanitize_exec().
| int actkeyblock_get_valid_hold | ( | ActKeyColumn * | ac | ) |
Definition at line 540 of file keyframes_draw.c.
References ACTKEYBLOCK_FLAG_ANY_HOLD, ACTKEYBLOCK_FLAG_STATIC_HOLD, actkeyblock_is_valid(), ActKeyColumn::block, ActKeyBlockInfo::conflict, and ActKeyBlockInfo::flag.
Referenced by draw_keylist(), and pose_propagate_get_boneHoldEndFrame().
| bool actkeyblock_is_valid | ( | ActKeyColumn * | ac | ) |
Definition at line 534 of file keyframes_draw.c.
References ActKeyColumn::next, NULL, and ActKeyColumn::totblock.
Referenced by actkeyblock_get_valid_hold(), and draw_keylist().
|
static |
Definition at line 436 of file keyframes_draw.c.
References add_keyblock_info(), BLI_assert, BLI_dlrbTree_search_exact(), col, compare_ak_cfraPtr(), compute_keyblock_data(), dummy_keyblock, DLRBT_Tree::first, is_cfra_eq(), is_cfra_lt(), NULL, v, and BezTriple::vec.
Referenced by update_keyblocks().
|
static |
Definition at line 336 of file keyframes_draw.c.
References BLI_dlrbTree_add(), compare_ak_bezt(), ELEM, nalloc_ak_bezt(), NULL, and nupdate_ak_bezt().
Referenced by fcurve_to_keylist().
|
static |
Definition at line 346 of file keyframes_draw.c.
References BLI_dlrbTree_add(), compare_ak_gpframe(), ELEM, nalloc_ak_gpframe(), NULL, and nupdate_ak_gpframe().
Referenced by gpl_to_keylist().
|
static |
Definition at line 418 of file keyframes_draw.c.
References col, ActKeyBlockInfo::flag, and ActKeyBlockInfo::sel.
Referenced by add_bezt_to_keyblocks_list().
|
static |
Definition at line 356 of file keyframes_draw.c.
References BLI_dlrbTree_add(), compare_ak_masklayshape(), ELEM, nalloc_ak_masklayshape(), NULL, and nupdate_ak_masklayshape().
Referenced by mask_to_keylist().
| void agroup_to_keylist | ( | AnimData * | adt, |
| bActionGroup * | agrp, | ||
| DLRBT_Tree * | keys, | ||
| int | saction_flag | ||
| ) |
Definition at line 1218 of file keyframes_draw.c.
References bActionGroup::channels, fcurve_to_keylist(), ListBase::first, FCurve::grp, and FCurve::next.
Referenced by actkeys_list_element_to_keylist(), animviz_calc_motionpaths(), and draw_agroup_channel().
|
static |
Definition at line 123 of file keyframes_draw.c.
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, NULL, BezTripleChain::prev, and BezTriple::vec.
Referenced by nalloc_ak_bezt(), and nupdate_ak_bezt().
|
static |
Definition at line 103 of file keyframes_draw.c.
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, | ||
| DLRBT_Tree * | keys, | ||
| int | saction_flag | ||
| ) |
Definition at line 1147 of file keyframes_draw.c.
References bAnimContext::ads, bAnimListElem::adt, CacheFile::adt, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMCONT_CHANNEL, ANIMFILTER_DATA_VISIBLE, ANIMTYPE_DSCACHEFILE, bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, fcurve_to_keylist(), filter(), bAnimListElem::id, CacheFile::id, LISTBASE_FOREACH, NULL, and bAnimListElem::type.
|
static |
Definition at line 173 of file keyframes_draw.c.
References compare_ak_cfraPtr(), BezTripleChain::cur, data, node, and BezTriple::vec.
Referenced by add_bezt_to_keycolumns_list().
| short compare_ak_cfraPtr | ( | void * | node, |
| void * | data | ||
| ) |
Definition at line 75 of file keyframes_draw.c.
References ActKeyColumn::cfra, data, is_cfra_eq(), and node.
Referenced by add_bezt_to_keyblocks_list(), compare_ak_bezt(), compare_ak_gpframe(), compare_ak_masklayshape(), find_prev_next_keyframes(), keyframe_jump_exec(), motionpath_get_next_keyframe(), motionpath_get_prev_keyframe(), motionpaths_calc_bake_targets(), pose_propagate_get_boneHoldEndFrame(), and pose_slide_invoke_common().
|
static |
Definition at line 241 of file keyframes_draw.c.
References compare_ak_cfraPtr(), data, bGPDframe::framenum, and node.
Referenced by add_gpframe_to_keycolumns_list().
|
static |
Definition at line 294 of file keyframes_draw.c.
References compare_ak_cfraPtr(), data, MaskLayerShape::frame, and node.
Referenced by add_masklay_to_keycolumns_list().
|
static |
Definition at line 373 of file keyframes_draw.c.
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, BezTriple::ipo, IS_EQF, ActKeyBlockInfo::sel, and BezTriple::vec.
Referenced by add_bezt_to_keyblocks_list().
| void draw_action_channel | ( | View2D * | v2d, |
| AnimData * | adt, | ||
| bAction * | act, | ||
| float | ypos, | ||
| float | yscale_fac, | ||
| int | saction_flag | ||
| ) |
Definition at line 963 of file keyframes_draw.c.
References action_to_keylist(), BLI_dlrbTree_free(), BLI_dlrbTree_init(), draw_keylist(), ID_IS_LINKED, and SACTION_SHOW_EXTREMES.
Referenced by draw_channel_strips().
| void draw_agroup_channel | ( | View2D * | v2d, |
| AnimData * | adt, | ||
| bActionGroup * | agrp, | ||
| float | ypos, | ||
| float | yscale_fac, | ||
| int | saction_flag | ||
| ) |
Definition at line 946 of file keyframes_draw.c.
References AnimData::action, agroup_to_keylist(), AGRP_PROTECTED, BLI_dlrbTree_free(), BLI_dlrbTree_init(), draw_keylist(), bActionGroup::flag, and ID_IS_LINKED.
Referenced by draw_channel_strips().
| void draw_fcurve_channel | ( | View2D * | v2d, |
| AnimData * | adt, | ||
| FCurve * | fcu, | ||
| float | ypos, | ||
| float | yscale_fac, | ||
| int | saction_flag | ||
| ) |
Definition at line 928 of file keyframes_draw.c.
References AnimData::action, AGRP_PROTECTED, BLI_dlrbTree_free(), BLI_dlrbTree_init(), draw_keylist(), FCURVE_PROTECTED, fcurve_to_keylist(), bActionGroup::flag, FCurve::flag, FCurve::grp, and ID_IS_LINKED.
Referenced by draw_channel_strips().
| void draw_gpencil_channel | ( | View2D * | v2d, |
| bDopeSheet * | ads, | ||
| bGPdata * | gpd, | ||
| float | ypos, | ||
| float | yscale_fac, | ||
| int | saction_flag | ||
| ) |
Definition at line 981 of file keyframes_draw.c.
References BLI_dlrbTree_free(), BLI_dlrbTree_init(), draw_keylist(), gpencil_to_keylist(), and SACTION_SHOW_EXTREMES.
| void draw_gpl_channel | ( | View2D * | v2d, |
| bDopeSheet * | ads, | ||
| bGPDlayer * | gpl, | ||
| float | ypos, | ||
| float | yscale_fac, | ||
| int | saction_flag | ||
| ) |
Definition at line 997 of file keyframes_draw.c.
References BLI_dlrbTree_free(), BLI_dlrbTree_init(), draw_keylist(), bGPDlayer::flag, GP_LAYER_LOCKED, and gpl_to_keylist().
Referenced by draw_channel_strips().
| void draw_keyframe_shape | ( | float | x, |
| float | y, | ||
| float | size, | ||
| bool | sel, | ||
| short | key_type, | ||
| short | mode, | ||
| float | alpha, | ||
| uint | pos_id, | ||
| uint | size_id, | ||
| uint | color_id, | ||
| uint | outline_color_id, | ||
| uint | flags_id, | ||
| short | handle_type, | ||
| short | extreme_type | ||
| ) |
Definition at line 553 of file keyframes_draw.c.
References alpha, BEZT_KEYTYPE_BREAKDOWN, BEZT_KEYTYPE_EXTREME, BEZT_KEYTYPE_JITTER, BEZT_KEYTYPE_KEYFRAME, BEZT_KEYTYPE_MOVEHOLD, BLI_assert, ELEM, immAttr1f(), immAttr1u(), immAttr4ubv(), immVertex2f(), KEYFRAME_EXTREME_MAX, KEYFRAME_EXTREME_MIN, KEYFRAME_EXTREME_MIXED, KEYFRAME_HANDLE_ALIGNED, KEYFRAME_HANDLE_AUTO, KEYFRAME_HANDLE_AUTO_CLAMP, KEYFRAME_HANDLE_FREE, KEYFRAME_HANDLE_VECTOR, KEYFRAME_SHAPE_BOTH, KEYFRAME_SHAPE_FRAME, KEYFRAME_SHAPE_INSIDE, size(), TH_KEYBORDER, TH_KEYBORDER_SELECT, TH_KEYTYPE_BREAKDOWN, TH_KEYTYPE_BREAKDOWN_SELECT, TH_KEYTYPE_EXTREME, TH_KEYTYPE_EXTREME_SELECT, TH_KEYTYPE_JITTER, TH_KEYTYPE_JITTER_SELECT, TH_KEYTYPE_KEYFRAME, TH_KEYTYPE_KEYFRAME_SELECT, TH_KEYTYPE_MOVEHOLD, TH_KEYTYPE_MOVEHOLD_SELECT, UI_GetThemeColor4ubv(), x, and y.
Referenced by draw_keylist(), nla_action_draw_keyframes(), and vicon_keytype_draw_wrapper().
|
static |
Definition at line 688 of file keyframes_draw.c.
References ACTKEYBLOCK_FLAG_GPENCIL, ACTKEYBLOCK_FLAG_NON_BEZIER, ACTKEYBLOCK_FLAG_STATIC_HOLD, actkeyblock_get_valid_hold(), actkeyblock_is_valid(), alpha, BEZT_KEYTYPE_BREAKDOWN, BEZT_KEYTYPE_JITTER, BEZT_KEYTYPE_KEYFRAME, BEZT_KEYTYPE_MOVEHOLD, BLI_rcti_size_x(), BLI_rcti_size_y(), copy_v4_v4(), View2D::cur, draw_keyframe_shape(), float(), GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_COMP_F32, GPU_COMP_U32, GPU_COMP_U8, GPU_FETCH_FLOAT, GPU_FETCH_INT, GPU_FETCH_INT_TO_FLOAT_UNIT, GPU_PRIM_POINTS, GPU_program_point_size(), GPU_SHADER_KEYFRAME_DIAMOND, GPU_vertformat_attr_add(), immBegin(), immBindBuiltinProgram(), immEnd(), immUnbindProgram(), immUniform1f(), immUniform2f(), immVertexFormat(), IN_RANGE_INCL, KEYFRAME_EXTREME_NONE, KEYFRAME_HANDLE_NONE, KEYFRAME_SHAPE_BOTH, LISTBASE_FOREACH, View2D::mask, min_ff(), NULL, SACTION_SHOW_EXTREMES, SACTION_SHOW_INTERPOLATION, SELECT, size(), TH_DOPESHEET_IPOLINE, TH_STRIP, TH_STRIP_SELECT, UI_CNR_BOTTOM_RIGHT, UI_CNR_NONE, UI_CNR_TOP_RIGHT, UI_draw_roundbox_4fv(), UI_draw_roundbox_corner_set(), UI_GetThemeColor4fv(), UI_UNIT_X, UI_view2d_scale_get_x(), rctf::xmax, and rctf::xmin.
Referenced by draw_action_channel(), draw_agroup_channel(), draw_fcurve_channel(), draw_gpencil_channel(), draw_gpl_channel(), draw_masklay_channel(), draw_object_channel(), draw_scene_channel(), and draw_summary_channel().
| void draw_masklay_channel | ( | View2D * | v2d, |
| bDopeSheet * | ads, | ||
| MaskLayer * | masklay, | ||
| float | ypos, | ||
| float | yscale_fac, | ||
| int | saction_flag | ||
| ) |
Definition at line 1013 of file keyframes_draw.c.
References BLI_dlrbTree_free(), BLI_dlrbTree_init(), draw_keylist(), MaskLayer::flag, MASK_LAYERFLAG_LOCKED, and mask_to_keylist().
Referenced by draw_channel_strips().
| void draw_object_channel | ( | View2D * | v2d, |
| bDopeSheet * | ads, | ||
| Object * | ob, | ||
| float | ypos, | ||
| float | yscale_fac, | ||
| int | saction_flag | ||
| ) |
Definition at line 912 of file keyframes_draw.c.
References BLI_dlrbTree_free(), BLI_dlrbTree_init(), draw_keylist(), ob_to_keylist(), and SACTION_SHOW_EXTREMES.
Referenced by draw_channel_strips().
| void draw_scene_channel | ( | View2D * | v2d, |
| bDopeSheet * | ads, | ||
| Scene * | sce, | ||
| float | ypos, | ||
| float | yscale_fac, | ||
| int | saction_flag | ||
| ) |
Definition at line 896 of file keyframes_draw.c.
References BLI_dlrbTree_free(), BLI_dlrbTree_init(), draw_keylist(), SACTION_SHOW_EXTREMES, and scene_to_keylist().
Referenced by draw_channel_strips().
| void draw_summary_channel | ( | View2D * | v2d, |
| bAnimContext * | ac, | ||
| float | ypos, | ||
| float | yscale_fac, | ||
| int | saction_flag | ||
| ) |
Definition at line 880 of file keyframes_draw.c.
References BLI_dlrbTree_free(), BLI_dlrbTree_init(), draw_keylist(), SACTION_SHOW_EXTREMES, and summary_to_keylist().
Referenced by draw_channel_strips().
| void fcurve_to_keylist | ( | AnimData * | adt, |
| FCurve * | fcu, | ||
| DLRBT_Tree * | keys, | ||
| int | saction_flag | ||
| ) |
Definition at line 1181 of file keyframes_draw.c.
References add_bezt_to_keycolumns_list(), ANIM_nla_mapping_apply_fcurve(), FCurve::bezt, BKE_fcurve_is_cyclic(), BezTripleChain::cur, BezTripleChain::next, NULL, BezTripleChain::prev, SACTION_SHOW_EXTREMES, FCurve::totvert, update_keyblocks(), and v.
Referenced by action_to_keylist(), actkeys_list_element_to_keylist(), agroup_to_keylist(), cachefile_to_keylist(), draw_fcurve_channel(), 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, | ||
| DLRBT_Tree * | keys, | ||
| const bool | active | ||
| ) |
Definition at line 1242 of file keyframes_draw.c.
References blender::compositor::active, bGPDlayer::flag, GP_LAYER_HIDE, GP_LAYER_SELECT, gpl_to_keylist(), ListBase::last, bGPdata::layers, and bGPDlayer::prev.
Referenced by draw_gpencil_channel(), find_prev_next_keyframes(), and keyframe_jump_exec().
| void gpl_to_keylist | ( | bDopeSheet * | UNUSEDads, |
| bGPDlayer * | gpl, | ||
| DLRBT_Tree * | keys | ||
| ) |
Definition at line 1258 of file keyframes_draw.c.
References add_gpframe_to_keycolumns_list(), ListBase::first, bGPDlayer::frames, bGPDframe::next, NULL, and update_keyblocks().
Referenced by actkeys_list_element_to_keylist(), draw_gpl_channel(), gpencil_to_keylist(), and summary_to_keylist().
| BLI_INLINE bool is_cfra_eq | ( | float | a, |
| float | b | ||
| ) |
Definition at line 63 of file keyframes_draw.c.
References Freestyle::a, BEZT_BINARYSEARCH_THRESH, and IS_EQT.
Referenced by add_bezt_to_keyblocks_list(), and compare_ak_cfraPtr().
| BLI_INLINE bool is_cfra_lt | ( | float | a, |
| float | b | ||
| ) |
Definition at line 68 of file keyframes_draw.c.
References Freestyle::a, and BEZT_BINARYSEARCH_THRESH.
Referenced by add_bezt_to_keyblocks_list().
| void mask_to_keylist | ( | bDopeSheet * | UNUSEDads, |
| MaskLayer * | masklay, | ||
| DLRBT_Tree * | keys | ||
| ) |
Definition at line 1273 of file keyframes_draw.c.
References add_masklay_to_keycolumns_list(), ListBase::first, MaskLayerShape::next, NULL, MaskLayer::splines_shapes, and update_keyblocks().
Referenced by actkeys_list_element_to_keylist(), draw_masklay_channel(), find_prev_next_keyframes(), keyframe_jump_exec(), and summary_to_keylist().
|
static |
Definition at line 181 of file keyframes_draw.c.
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 250 of file keyframes_draw.c.
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 303 of file keyframes_draw.c.
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 201 of file keyframes_draw.c.
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, node, ActKeyColumn::sel, SELECT, and ActKeyColumn::totkey.
Referenced by add_bezt_to_keycolumns_list().
|
static |
Definition at line 271 of file keyframes_draw.c.
References BEZT_KEYTYPE_KEYFRAME, data, bGPDframe::flag, GP_FRAME_SELECT, ActKeyColumn::key_type, bGPDframe::key_type, node, ActKeyColumn::sel, SELECT, and ActKeyColumn::totkey.
Referenced by add_gpframe_to_keycolumns_list().
|
static |
Definition at line 319 of file keyframes_draw.c.
References data, MaskLayerShape::flag, MASK_SHAPE_SELECT, node, ActKeyColumn::sel, SELECT, and ActKeyColumn::totkey.
Referenced by add_masklay_to_keycolumns_list().
| void ob_to_keylist | ( | bDopeSheet * | ads, |
| Object * | ob, | ||
| DLRBT_Tree * | keys, | ||
| int | saction_flag | ||
| ) |
Definition at line 1109 of file keyframes_draw.c.
References bAnimContext::ads, bAnimListElem::adt, Object::adt, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMCONT_CHANNEL, ANIMFILTER_DATA_VISIBLE, ANIMTYPE_OBJECT, bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, fcurve_to_keylist(), filter(), ListBase::first, bAnimListElem::id, Object::id, bAnimListElem::next, NULL, Base::object, and bAnimListElem::type.
Referenced by actkeys_list_element_to_keylist(), draw_object_channel(), find_prev_next_keyframes(), and keyframe_jump_exec().
| void scene_to_keylist | ( | bDopeSheet * | ads, |
| Scene * | sce, | ||
| DLRBT_Tree * | keys, | ||
| int | saction_flag | ||
| ) |
Definition at line 1074 of file keyframes_draw.c.
References bAnimContext::ads, bAnimListElem::adt, Scene::adt, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMCONT_CHANNEL, ANIMFILTER_DATA_VISIBLE, ANIMTYPE_SCENE, bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, fcurve_to_keylist(), filter(), ListBase::first, bAnimListElem::id, Scene::id, bAnimListElem::next, NULL, and bAnimListElem::type.
Referenced by actkeys_list_element_to_keylist(), draw_scene_channel(), find_prev_next_keyframes(), and keyframe_jump_exec().
| void summary_to_keylist | ( | bAnimContext * | ac, |
| DLRBT_Tree * | keys, | ||
| int | saction_flag | ||
| ) |
Definition at line 1035 of file keyframes_draw.c.
References bAnimContext::ads, bAnimListElem::adt, ALE_FCURVE, ALE_GPFRAME, ALE_MASKLAY, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMFILTER_DATA_VISIBLE, bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, bAnimListElem::datatype, fcurve_to_keylist(), filter(), ListBase::first, gpl_to_keylist(), mask_to_keylist(), bAnimListElem::next, and NULL.
Referenced by actkeys_list_element_to_keylist(), and draw_summary_channel().
|
static |
Definition at line 499 of file keyframes_draw.c.
References add_bezt_to_keyblocks_list(), BLI_dlrbTree_linkedlist_sync(), ActKeyColumn::block, col, LISTBASE_FOREACH, MAX2, NULL, and ActKeyColumn::totblock.
Referenced by fcurve_to_keylist(), gpl_to_keylist(), and mask_to_keylist().
|
static |
Definition at line 371 of file keyframes_draw.c.
Referenced by add_bezt_to_keyblocks_list().