|
Blender V5.0
|
#include <cfloat>#include <cmath>#include <cstdlib>#include <cstring>#include "MEM_guardedalloc.h"#include "BLI_fileops.h"#include "BLI_listbase.h"#include "BLI_math_rotation.h"#include "BLI_utildefines.h"#include "DNA_anim_types.h"#include "DNA_scene_types.h"#include "RNA_access.hh"#include "RNA_define.hh"#include "RNA_enum_types.hh"#include "RNA_prototypes.hh"#include "BLT_translation.hh"#include "BKE_animsys.h"#include "BKE_context.hh"#include "BKE_fcurve.hh"#include "BKE_global.hh"#include "BKE_nla.hh"#include "BKE_report.hh"#include "BKE_scene.hh"#include "DEG_depsgraph.hh"#include "DEG_depsgraph_build.hh"#include "UI_interface_icons.hh"#include "UI_view2d.hh"#include "ANIM_animdata.hh"#include "ANIM_fcurve.hh"#include "ANIM_keyframing.hh"#include "ED_anim_api.hh"#include "ED_keyframes_edit.hh"#include "ED_keyframing.hh"#include "ED_markers.hh"#include "ED_screen.hh"#include "ED_transform.hh"#include "WM_api.hh"#include "WM_types.hh"#include "graph_intern.hh"Go to the source code of this file.
Classes | |
| struct | tEulerFilter |
Set Extrapolation-Type Operator | |
| #define | MAKE_CYCLIC_EXPO -1 |
| #define | CLEAR_CYCLIC_EXPO -2 |
| static const EnumPropertyItem | prop_graphkeys_expo_types [] |
| static void | setexpo_graph_keys (bAnimContext *ac, short mode) |
| static wmOperatorStatus | graphkeys_expo_exec (bContext *C, wmOperator *op) |
| void | GRAPH_OT_extrapolation_type (wmOperatorType *ot) |
Insert Keyframes Operator | |
| enum | eGraphKeys_InsertKey_Types { GRAPHKEYS_INSERTKEY_ALL = (1 << 0) , GRAPHKEYS_INSERTKEY_SEL = (1 << 1) , GRAPHKEYS_INSERTKEY_CURSOR = (1 << 2) , GRAPHKEYS_INSERTKEY_ACTIVE = (1 << 3) } |
| static const EnumPropertyItem | prop_graphkeys_insertkey_types [] |
| static void | insert_graph_keys (bAnimContext *ac, eGraphKeys_InsertKey_Types mode) |
| static wmOperatorStatus | graphkeys_insertkey_exec (bContext *C, wmOperator *op) |
| void | GRAPH_OT_keyframe_insert (wmOperatorType *ot) |
Snap Keyframes Operator | |
| static const EnumPropertyItem | prop_graphkeys_snap_types [] |
| static void | snap_graph_keys (bAnimContext *ac, short mode) |
| static wmOperatorStatus | graphkeys_snap_exec (bContext *C, wmOperator *op) |
| static bool | graph_has_selected_control_points (bContext *C) |
| static wmOperatorStatus | graphkeys_selected_control_points_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
| void | GRAPH_OT_snap (wmOperatorType *ot) |
Equalize Handles Operator | |
| static const EnumPropertyItem | prop_graphkeys_equalize_handles_sides [] |
| static void | equalize_graph_keys (bAnimContext *ac, int mode, float handle_length, bool flatten) |
| static wmOperatorStatus | graphkeys_equalize_handles_exec (bContext *C, wmOperator *op) |
| void | GRAPH_OT_equalize_handles (wmOperatorType *ot) |
Mirror Keyframes Operator | |
| static const EnumPropertyItem | prop_graphkeys_mirror_types [] |
| static void | mirror_graph_keys (bAnimContext *ac, short mode) |
| static wmOperatorStatus | graphkeys_mirror_exec (bContext *C, wmOperator *op) |
| void | GRAPH_OT_mirror (wmOperatorType *ot) |
Insert duplicate and bake keyframes.
Definition in file graph_edit.cc.
| #define CLEAR_CYCLIC_EXPO -2 |
Definition at line 1407 of file graph_edit.cc.
| #define MAKE_CYCLIC_EXPO -1 |
Definition at line 1406 of file graph_edit.cc.
| Enumerator | |
|---|---|
| GRAPHKEYS_INSERTKEY_ALL | |
| GRAPHKEYS_INSERTKEY_SEL | |
| GRAPHKEYS_INSERTKEY_CURSOR | |
| GRAPHKEYS_INSERTKEY_ACTIVE | |
Definition at line 71 of file graph_edit.cc.
|
static |
Definition at line 1339 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_update(), ANIM_UPDATE_DEPS, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, blender::animrig::bake_fcurve_segments(), bAnimContext::data, bAnimContext::datatype, filter, and LISTBASE_FOREACH.
Referenced by graphkeys_bake_exec().
|
static |
Definition at line 853 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_update(), ANIM_UPDATE_DEFAULT, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, clean_fcurve(), bAnimContext::data, bAnimContext::datatype, filter, and LISTBASE_FOREACH.
Referenced by graphkeys_clean_exec().
|
static |
Definition at line 934 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_update(), ANIM_UPDATE_DEPS, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, bAnimContext::data, bAnimContext::datatype, FCurve::driver, fcurve_samplingcb_evalcurve(), fcurve_store_samples(), filter, and LISTBASE_FOREACH.
Referenced by graphkeys_keys_to_samples_exec().
|
static |
Definition at line 1022 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_update(), ANIM_UPDATE_DEPS, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, bAnimContext::data, bAnimContext::datatype, fcurve_samples_to_keyframes(), filter, and LISTBASE_FOREACH.
Referenced by graphkeys_samples_to_keys_exec().
|
static |
Definition at line 464 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, copy_animedit_keys(), bAnimContext::data, bAnimContext::datatype, and filter.
Referenced by graphkeys_copy_exec().
|
static |
Definition at line 753 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_update(), ANIM_UPDATE_DEFAULT, blender::animrig::animdata_fcurve_delete(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, BKE_fcurve_delete_keys_selected(), BKE_fcurve_is_empty(), bAnimContext::data, bAnimContext::datatype, filter, and LISTBASE_FOREACH.
Referenced by graphkeys_delete_exec().
|
static |
Definition at line 677 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_update(), ANIM_UPDATE_DEFAULT, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, bAnimContext::data, bAnimContext::datatype, duplicate_fcurve_keys(), filter, and LISTBASE_FOREACH.
Referenced by graphkeys_duplicate_exec().
|
static |
Definition at line 2515 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_update(), ANIM_fcurve_equalize_keyframes_loop(), ANIM_UPDATE_DEFAULT, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, bAnimContext::data, bAnimContext::datatype, filter, and LISTBASE_FOREACH.
Referenced by graphkeys_equalize_handles_exec().
|
static |
Definition at line 1807 of file graph_edit.cc.
References ANIM_UPDATE_DEFAULT, FCurve::array_index, BKE_reportf(), BLI_addtail(), ELEM, tEulerFilter::fcurves, tEulerFilter::id, LISTBASE_FOREACH, MEM_callocN(), FCurve::rna_path, tEulerFilter::rna_path, RPT_, RPT_WARNING, and STREQ.
Referenced by graphkeys_euler_filter_exec().
|
static |
Definition at line 1864 of file graph_edit.cc.
References FCurve::bezt, BKE_fcurve_keyframe_move_value_with_handles(), BKE_reportf(), ELEM, eul_to_mat3(), tEulerFilter::fcurves, tEulerFilter::id, keyframe_time_differs(), mat3_normalized_to_compatible_eul(), ID::name, tEulerFilter::rna_path, RPT_INFO, FCurve::totvert, and BezTriple::vec.
Referenced by euler_filter_perform_filter().
|
static |
Definition at line 1983 of file graph_edit.cc.
References euler_filter_multi_channel(), euler_filter_single_channel(), LISTBASE_FOREACH, and min_ii().
Referenced by graphkeys_euler_filter_exec().
|
static |
Definition at line 1939 of file graph_edit.cc.
References FCurve::bezt, float, i, M_PI, sign(), FCurve::totvert, and BezTriple::vec.
Referenced by euler_filter_perform_filter().
|
static |
Definition at line 3209 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIM_remove_driver(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_NODUPLIS, FCurve::array_index, BKE_report(), BKE_reportf(), C, CTX_data_main(), bAnimContext::data, bAnimContext::datatype, DEG_id_tag_update(), DEG_relations_tag_update(), FCurve::driver, DRIVER_FLAG_INVALID, ELEM, filter, ChannelDriver::flag, ID_RECALC_ANIMATION, LISTBASE_FOREACH, NA_REMOVED, NC_ANIMATION, ND_KEYFRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, FCurve::rna_path, RPT_INFO, and WM_event_add_notifier().
Referenced by GRAPH_OT_driver_delete_invalid().
|
static |
Definition at line 3269 of file graph_edit.cc.
References ANIM_animdata_get_context(), C, CTX_wm_area(), SPACE_GRAPH, and ScrArea::spacetype.
Referenced by GRAPH_OT_driver_delete_invalid().
|
static |
Definition at line 3112 of file graph_edit.cc.
References ANIM_driver_vars_copy(), C, CTX_data_pointer_get_type(), OPERATOR_CANCELLED, OPERATOR_FINISHED, ptr, and wmOperator::reports.
Referenced by GRAPH_OT_driver_variables_copy().
|
static |
Definition at line 3153 of file graph_edit.cc.
References ANIM_driver_vars_paste(), C, CTX_data_main(), CTX_data_pointer_get_type(), CTX_data_scene(), DEG_relations_tag_update(), NC_SCENE, ND_FRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, ptr, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), and WM_event_add_notifier().
Referenced by GRAPH_OT_driver_variables_paste().
|
static |
Definition at line 2863 of file graph_edit.cc.
References add_fmodifier(), ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIM_animdata_update(), ANIM_UPDATE_DEPS, ANIMFILTER_ACTIVE, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, BKE_report(), C, bAnimContext::data, bAnimContext::datatype, filter, LISTBASE_FOREACH, FCurve::modifiers, NA_EDITED, NC_ANIMATION, ND_KEYFRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), RPT_ERROR, set_active_fmodifier(), and WM_event_add_notifier().
Referenced by GRAPH_OT_fmodifier_add().
|
static |
Definition at line 2951 of file graph_edit.cc.
References ANIM_animdata_get_context(), ANIM_fmodifiers_copy_to_buf(), ANIM_fmodifiers_copybuf_free(), BKE_report(), C, bAnimListElem::data, get_active_fcurve_channel(), MEM_freeN(), FCurve::modifiers, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, and RPT_ERROR.
Referenced by GRAPH_OT_fmodifier_copy().
|
static |
Definition at line 2828 of file graph_edit.cc.
References C, FMODIFIER_NUM_TYPES, get_fmodifier_typeinfo(), i, rna_enum_fmodifier_type_items, RNA_enum_from_value(), RNA_enum_item_add(), RNA_enum_item_end(), and FModifierTypeInfo::type.
Referenced by GRAPH_OT_fmodifier_add().
|
static |
Definition at line 3017 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIM_animdata_update(), ANIM_fmodifiers_paste_from_buf(), ANIM_UPDATE_DEPS, ANIMFILTER_ACTIVE, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, BKE_report(), C, bAnimContext::data, bAnimContext::datatype, filter, LISTBASE_FOREACH, FCurve::modifiers, NA_EDITED, NC_ANIMATION, ND_KEYFRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_ERROR, and WM_event_add_notifier().
Referenced by GRAPH_OT_fmodifier_paste().
|
static |
Definition at line 2436 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, BKE_fcurve_has_selected_control_points(), C, bAnimContext::data, bAnimContext::datatype, filter, and LISTBASE_FOREACH.
Referenced by graphkeys_selected_control_points_invoke().
| void GRAPH_OT_bake_keys | ( | wmOperatorType * | ot | ) |
Definition at line 1381 of file graph_edit.cc.
References graphkeys_bake_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_clean | ( | wmOperatorType * | ot | ) |
Definition at line 904 of file graph_edit.cc.
References FLT_MAX, graphkeys_clean_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), and RNA_def_float().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_click_insert | ( | wmOperatorType * | ot | ) |
Definition at line 418 of file graph_edit.cc.
References FLT_MAX, graphkeys_click_insert_exec(), graphkeys_click_insert_invoke(), graphop_active_fcurve_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_float(), and RNA_def_property_flag().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_copy | ( | wmOperatorType * | ot | ) |
Definition at line 558 of file graph_edit.cc.
References graphkeys_copy_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_delete | ( | wmOperatorType * | ot | ) |
Definition at line 830 of file graph_edit.cc.
References graphkeys_delete_exec(), graphkeys_delete_invoke(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and WM_operator_properties_confirm_or_exec().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_driver_delete_invalid | ( | wmOperatorType * | ot | ) |
Definition at line 3283 of file graph_edit.cc.
References graph_driver_delete_invalid_exec(), graph_driver_delete_invalid_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_driver_variables_copy | ( | wmOperatorType * | ot | ) |
Definition at line 3132 of file graph_edit.cc.
References graph_driver_vars_copy_exec(), graphop_active_editable_fcurve_ctx_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_driver_variables_paste | ( | wmOperatorType * | ot | ) |
Definition at line 3180 of file graph_edit.cc.
References graph_driver_vars_paste_exec(), graphop_active_editable_fcurve_ctx_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_duplicate | ( | wmOperatorType * | ot | ) |
Definition at line 724 of file graph_edit.cc.
References graphkeys_duplicate_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), rna_enum_transform_mode_type_items, and blender::ed::transform::TFM_TRANSLATION.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_easing_type | ( | wmOperatorType * | ot | ) |
Definition at line 1668 of file graph_edit.cc.
References graphkeys_easing_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), rna_enum_beztriple_interpolation_easing_items, and WM_menu_invoke().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_equalize_handles | ( | wmOperatorType * | ot | ) |
Definition at line 2559 of file graph_edit.cc.
References FLT_MAX, graphkeys_equalize_handles_exec(), graphkeys_selected_control_points_invoke(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, prop_graphkeys_equalize_handles_sides, RNA_def_boolean(), RNA_def_enum(), and RNA_def_float().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_euler_filter | ( | wmOperatorType * | ot | ) |
Definition at line 2095 of file graph_edit.cc.
References graphkeys_euler_filter_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_extrapolation_type | ( | wmOperatorType * | ot | ) |
Definition at line 1514 of file graph_edit.cc.
References graphkeys_expo_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, prop_graphkeys_expo_types, RNA_def_enum(), and WM_menu_invoke().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_fmodifier_add | ( | wmOperatorType * | ot | ) |
Definition at line 2918 of file graph_edit.cc.
References BLT_I18NCONTEXT_ID_ACTION, graph_fmodifier_add_exec(), graph_fmodifier_itemf(), graphop_selected_fcurve_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_translation_context(), rna_enum_fmodifier_type_items, and WM_menu_invoke().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_fmodifier_copy | ( | wmOperatorType * | ot | ) |
Definition at line 2987 of file graph_edit.cc.
References graph_fmodifier_copy_exec(), graphop_active_fcurve_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_fmodifier_paste | ( | wmOperatorType * | ot | ) |
Definition at line 3078 of file graph_edit.cc.
References graph_fmodifier_paste_exec(), graphop_active_fcurve_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, and RNA_def_boolean().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_frame_jump | ( | wmOperatorType * | ot | ) |
Definition at line 2221 of file graph_edit.cc.
References graphkeys_framejump_exec(), graphkeys_framejump_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_handle_type | ( | wmOperatorType * | ot | ) |
Definition at line 1753 of file graph_edit.cc.
References graphkeys_handletype_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), rna_enum_keyframe_handle_type_items, and WM_menu_invoke().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_interpolation_type | ( | wmOperatorType * | ot | ) |
Definition at line 1591 of file graph_edit.cc.
References BLT_I18NCONTEXT_ID_ACTION, graphkeys_ipo_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_enum(), RNA_def_property_translation_context(), rna_enum_beztriple_interpolation_mode_items, and WM_menu_invoke().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_keyframe_insert | ( | wmOperatorType * | ot | ) |
Definition at line 271 of file graph_edit.cc.
References graphkeys_insertkey_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, prop_graphkeys_insertkey_types, RNA_def_enum(), and WM_menu_invoke().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_keyframe_jump | ( | wmOperatorType * | ot | ) |
Definition at line 2244 of file graph_edit.cc.
References graphkeys_framejump_poll(), keyframe_jump_exec(), OPTYPE_UNDO_GROUPED, ot, and RNA_def_boolean().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_keys_to_samples | ( | wmOperatorType * | ot | ) |
Definition at line 995 of file graph_edit.cc.
References graphkeys_keys_to_samples_exec(), graphop_selected_fcurve_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_mirror | ( | wmOperatorType * | ot | ) |
Definition at line 2742 of file graph_edit.cc.
References graphkeys_mirror_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, prop_graphkeys_mirror_types, RNA_def_enum(), and WM_menu_invoke().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_paste | ( | wmOperatorType * | ot | ) |
Definition at line 625 of file graph_edit.cc.
References graphkeys_paste_exec(), graphkeys_paste_get_description(), graphop_editable_keyframes_poll(), KEYFRAME_PASTE_MERGE_MIX, KEYFRAME_PASTE_OFFSET_CFRA_START, KEYFRAME_PASTE_VALUE_OFFSET_NONE, OPTYPE_REGISTER, OPTYPE_UNDO, ot, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_property_flag(), rna_enum_keyframe_paste_merge_items, rna_enum_keyframe_paste_offset_items, and rna_enum_keyframe_paste_offset_value_items.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_samples_to_keys | ( | wmOperatorType * | ot | ) |
Definition at line 1071 of file graph_edit.cc.
References graphkeys_samples_to_keys_exec(), graphop_selected_fcurve_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_smooth | ( | wmOperatorType * | ot | ) |
Definition at line 2804 of file graph_edit.cc.
References graphkeys_smooth_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_snap | ( | wmOperatorType * | ot | ) |
Definition at line 2479 of file graph_edit.cc.
References graphkeys_selected_control_points_invoke(), graphkeys_snap_exec(), graphop_editable_keyframes_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, prop_graphkeys_snap_types, and RNA_def_enum().
Referenced by graphedit_operatortypes().
| void GRAPH_OT_snap_cursor_value | ( | wmOperatorType * | ot | ) |
Definition at line 2285 of file graph_edit.cc.
References graphkeys_framejump_poll(), graphkeys_snap_cursor_value_exec(), OPTYPE_REGISTER, OPTYPE_UNDO, and ot.
Referenced by graphedit_operatortypes().
| void GRAPH_OT_sound_to_samples | ( | wmOperatorType * | ot | ) |
Definition at line 1230 of file graph_edit.cc.
References FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_MOVIE, FILE_TYPE_SOUND, graphkeys_sound_to_samples_exec(), graphkeys_sound_to_samples_invoke(), graphop_selected_fcurve_poll(), OPTYPE_REGISTER, OPTYPE_UNDO, ot, RNA_def_boolean(), RNA_def_float(), WM_FILESEL_FILEPATH, WM_FILESEL_SHOW_PROPS, and WM_operator_properties_filesel().
Referenced by graphedit_operatortypes().
|
static |
Definition at line 1363 of file graph_edit.cc.
References ANIM_animdata_get_context(), bake_graph_keys(), C, NA_EDITED, NC_ANIMATION, ND_KEYFRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by GRAPH_OT_bake_keys().
|
static |
Definition at line 881 of file graph_edit.cc.
References ANIM_animdata_get_context(), C, clean_graph_keys(), NA_EDITED, NC_ANIMATION, ND_KEYFRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_float_get(), and WM_event_add_notifier().
Referenced by GRAPH_OT_clean().
|
static |
Definition at line 296 of file graph_edit.cc.
References ANIM_animdata_get_context(), ANIM_animdata_update(), ANIM_get_normalization_flags(), ANIM_nla_tweakedit_remap(), ANIM_unit_mapping_get_factor(), ANIM_UNITCONV_RESTORE, ANIM_UPDATE_DEPS, BKE_fcurve_is_keyframable(), BKE_report(), BLI_addtail(), BLI_listbase_clear(), C, bAnimListElem::data, deselect_graph_keys(), ELEM, FCURVE_PROTECTED, FCurve::flag, FCurve::fpt, get_active_fcurve_channel(), blender::animrig::get_keyframe_settings(), bAnimListElem::id, blender::animrig::insert_vert_fcurve(), blender::animrig::KeyframeSettings::keyframe_type, ToolSettings::keyframe_type, MEM_freeN(), NA_EDITED, NC_ANIMATION, ND_KEYFRAME, NLATIME_CONVERT_UNMAP, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_float_get(), RPT_ERROR, bAnimContext::scene, SELECT_SUBTRACT, bAnimContext::sl, Scene::toolsettings, bAnimListElem::update, and WM_event_add_notifier().
Referenced by GRAPH_OT_click_insert(), and graphkeys_click_insert_invoke().
|
static |
Definition at line 387 of file graph_edit.cc.
References ANIM_animdata_get_context(), C, graphkeys_click_insert_exec(), OPERATOR_CANCELLED, wmOperator::ptr, bAnimContext::region, RNA_float_set(), UI_view2d_region_to_view(), ARegion::v2d, ARegion::winrct, x, rcti::xmin, y, and rcti::ymin.
Referenced by GRAPH_OT_click_insert().
|
static |
Definition at line 539 of file graph_edit.cc.
References ANIM_animdata_get_context(), BKE_report(), C, copy_graph_keys(), OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, and RPT_ERROR.
Referenced by GRAPH_OT_copy().
|
static |
Definition at line 794 of file graph_edit.cc.
References ANIM_animdata_get_context(), C, delete_graph_keys(), NA_REMOVED, NC_ANIMATION, ND_KEYFRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by GRAPH_OT_delete(), and graphkeys_delete_invoke().
|
static |
Definition at line 814 of file graph_edit.cc.
References ALERT_ICON_NONE, C, graphkeys_delete_exec(), IFACE_, wmOperator::ptr, RNA_boolean_get(), and WM_operator_confirm_ex().
Referenced by GRAPH_OT_delete().
|
static |
Definition at line 704 of file graph_edit.cc.
References ANIM_animdata_get_context(), C, duplicate_graph_keys(), NA_ADDED, NC_ANIMATION, ND_KEYFRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by GRAPH_OT_duplicate().
|
static |
Definition at line 1646 of file graph_edit.cc.
References ANIM_animdata_get_context(), C, NC_ANIMATION, ND_KEYFRAME_PROP, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), seteasing_graph_keys(), and WM_event_add_notifier().
Referenced by GRAPH_OT_easing_type().
|
static |
Definition at line 2537 of file graph_edit.cc.
References ANIM_animdata_get_context(), C, equalize_graph_keys(), NA_EDITED, NC_ANIMATION, ND_KEYFRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), RNA_float_get(), and WM_event_add_notifier().
Referenced by GRAPH_OT_equalize_handles().
|
static |
Definition at line 2014 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIM_animdata_update(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, BKE_report(), BKE_reportf(), BLI_assert, BLI_freelistN(), BLI_listbase_count(), C, bAnimContext::data, bAnimContext::datatype, euler_filter_group_channels(), euler_filter_perform_filter(), filter, NA_EDITED, NC_ANIMATION, ND_KEYFRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, RPT_INFO, RPT_WARNING, and WM_event_add_notifier().
Referenced by GRAPH_OT_euler_filter().
|
static |
Definition at line 1492 of file graph_edit.cc.
References ANIM_animdata_get_context(), C, NC_ANIMATION, ND_KEYFRAME_PROP, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), setexpo_graph_keys(), and WM_event_add_notifier().
Referenced by GRAPH_OT_extrapolation_type().
|
static |
Definition at line 2181 of file graph_edit.cc.
References ANIM_animdata_get_context(), C, RenderData::cfra, SpaceGraph::cursorTime, SpaceGraph::cursorVal, KeyframeEditData::f1, KeyframeEditData::f2, float, KeyframeEditData::i1, SpaceGraph::mode, NC_SCENE, ND_FRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, Scene::r, round_fl_to_int(), bAnimContext::scene, SIPO_MODE_DRIVERS, bAnimContext::sl, RenderData::subframe, sum_selected_keyframes(), and WM_event_add_notifier().
Referenced by GRAPH_OT_frame_jump().
|
static |
Definition at line 2122 of file graph_edit.cc.
References C, G, and graphop_visible_keyframes_poll().
Referenced by GRAPH_OT_frame_jump(), GRAPH_OT_keyframe_jump(), and GRAPH_OT_snap_cursor_value().
|
static |
Definition at line 1731 of file graph_edit.cc.
References ANIM_animdata_get_context(), C, NC_ANIMATION, ND_KEYFRAME_PROP, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), sethandles_graph_keys(), and WM_event_add_notifier().
Referenced by GRAPH_OT_handle_type().
|
static |
Definition at line 247 of file graph_edit.cc.
References ANIM_animdata_get_context(), ANIM_deselect_keys_in_animation_editors(), C, insert_graph_keys(), NA_ADDED, NC_ANIMATION, ND_KEYFRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), and WM_event_add_notifier().
Referenced by GRAPH_OT_keyframe_insert().
|
static |
Definition at line 1569 of file graph_edit.cc.
References ANIM_animdata_get_context(), C, NC_ANIMATION, ND_KEYFRAME_PROP, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), setipo_graph_keys(), and WM_event_add_notifier().
Referenced by GRAPH_OT_interpolation_type().
|
static |
Definition at line 968 of file graph_edit.cc.
References ANIM_animdata_get_context(), C, convert_keys_to_samples(), NA_EDITED, NC_ANIMATION, ND_KEYFRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, PEFRA, PSFRA, bAnimContext::scene, and WM_event_add_notifier().
Referenced by GRAPH_OT_keys_to_samples().
|
static |
Definition at line 2720 of file graph_edit.cc.
References ANIM_animdata_get_context(), C, mirror_graph_keys(), NA_EDITED, NC_ANIMATION, ND_KEYFRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), and WM_event_add_notifier().
Referenced by GRAPH_OT_mirror().
|
static |
Definition at line 573 of file graph_edit.cc.
References ANIM_animdata_get_context(), BKE_report(), C, KEYFRAME_PASTE_NOTHING_TO_PASTE, KEYFRAME_PASTE_NOWHERE_TO_PASTE, KEYFRAME_PASTE_OK, NA_EDITED, NC_ANIMATION, ND_KEYFRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, paste_graph_keys(), wmOperator::ptr, bAnimContext::reports, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), RPT_ERROR, and WM_event_add_notifier().
Referenced by GRAPH_OT_paste().
|
static |
Definition at line 612 of file graph_edit.cc.
References ptr, RNA_boolean_get(), and TIP_.
Referenced by GRAPH_OT_paste().
|
static |
Definition at line 1047 of file graph_edit.cc.
References ANIM_animdata_get_context(), C, convert_samples_to_keys(), NA_EDITED, NC_ANIMATION, ND_KEYFRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, PEFRA, PSFRA, bAnimContext::scene, and WM_event_add_notifier().
Referenced by GRAPH_OT_samples_to_keys().
|
static |
Definition at line 2467 of file graph_edit.cc.
References BKE_report(), C, graph_has_selected_control_points(), OPERATOR_CANCELLED, wmOperator::reports, RPT_ERROR, and WM_menu_invoke().
Referenced by GRAPH_OT_equalize_handles(), and GRAPH_OT_snap().
|
static |
Definition at line 2767 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIM_animdata_update(), ANIM_UPDATE_DEFAULT, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, C, bAnimContext::data, bAnimContext::datatype, filter, LISTBASE_FOREACH, NA_EDITED, NC_ANIMATION, ND_KEYFRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, smooth_fcurve(), and WM_event_add_notifier().
Referenced by GRAPH_OT_smooth().
|
static |
Definition at line 2261 of file graph_edit.cc.
References ANIM_animdata_get_context(), C, CTX_wm_region(), SpaceGraph::cursorVal, ED_region_tag_redraw(), KeyframeEditData::f2, float, KeyframeEditData::i1, OPERATOR_CANCELLED, OPERATOR_FINISHED, bAnimContext::sl, and sum_selected_keyframes().
Referenced by GRAPH_OT_snap_cursor_value().
|
static |
Definition at line 2414 of file graph_edit.cc.
References ANIM_animdata_get_context(), C, NA_EDITED, NC_ANIMATION, ND_KEYFRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), snap_graph_keys(), and WM_event_add_notifier().
Referenced by GRAPH_OT_snap().
|
static |
Definition at line 1207 of file graph_edit.cc.
References BKE_report(), OPERATOR_CANCELLED, wmOperator::reports, and RPT_ERROR.
Referenced by GRAPH_OT_sound_to_samples().
|
static |
Definition at line 1216 of file graph_edit.cc.
References ANIM_animdata_get_context(), C, OPERATOR_CANCELLED, and WM_operator_filesel().
Referenced by GRAPH_OT_sound_to_samples().
|
static |
Definition at line 109 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_get_normalization_flags(), ANIM_nla_tweakedit_remap(), ANIM_unit_mapping_get_factor(), ANIM_UPDATE_DEFAULT, ANIMFILTER_ACTIVE, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, BKE_animsys_eval_context_construct(), BKE_report(), bAnimContext::bmain, RenderData::cfra, SpaceGraph::cursorTime, SpaceGraph::cursorVal, bAnimContext::data, bAnimContext::datatype, bAnimContext::depsgraph, FCurve::driver, evaluate_fcurve_only_curve(), filter, flag, blender::animrig::get_keyframe_settings(), blender::animrig::get_keyframing_flags(), GRAPHKEYS_INSERTKEY_ACTIVE, GRAPHKEYS_INSERTKEY_CURSOR, GRAPHKEYS_INSERTKEY_SEL, FCurve::grp, Scene::id, blender::animrig::insert_keyframes(), blender::animrig::insert_vert_fcurve(), blender::animrig::KeyframeSettings::keyframe_type, ToolSettings::keyframe_type, LISTBASE_FOREACH, SpaceGraph::mode, bActionGroup::name, NLATIME_CONVERT_UNMAP, Scene::r, bAnimContext::reports, result, RNA_id_pointer_create(), RPT_ERROR, bAnimContext::scene, SIPO_MODE_DRIVERS, bAnimContext::sl, blender::animrig::SUCCESS, Scene::toolsettings, x, and y.
Referenced by graphkeys_insertkey_exec().
|
static |
Definition at line 2236 of file graph_edit.cc.
References BKE_report(), C, blender::wm::InvokeDefault, wmOperator::ptr, wmOperator::reports, RPT_WARNING, and WM_operator_name_call().
|
static |
Definition at line 1798 of file graph_edit.cc.
Referenced by euler_filter_multi_channel().
|
static |
Definition at line 2637 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_update(), ANIM_editkeyframes_mirror(), ANIM_fcurve_keyframes_loop(), ANIM_get_normalization_flags(), ANIM_nla_mapping_apply_if_needed_fcurve(), ANIM_unit_mapping_get_factor(), ANIM_UNITCONV_ONLYKEYS, ANIM_UPDATE_DEFAULT, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, BKE_fcurve_handles_recalc(), SpaceGraph::cursorTime, SpaceGraph::cursorVal, bAnimContext::data, bAnimContext::datatype, ED_markers_get_first_selected(), KeyframeEditData::f1, filter, float, TimeMarker::frame, GRAPHKEYS_MIRROR_CFRA, GRAPHKEYS_MIRROR_MARKER, GRAPHKEYS_MIRROR_VALUE, Scene::id, LISTBASE_FOREACH, bAnimContext::markers, MIRROR_KEYS_TIME, SpaceGraph::mode, bAnimContext::scene, KeyframeEditData::scene, SIPO_MODE_DRIVERS, and bAnimContext::sl.
Referenced by graphkeys_mirror_exec().
|
static |
Definition at line 495 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, bAnimContext::data, bAnimContext::datatype, filter, KeyframePasteContext::flip, KeyframePasteContext::merge_mode, KeyframePasteContext::num_fcurves_selected, KeyframePasteContext::num_slots_selected, KeyframePasteContext::offset_mode, paste_animedit_keys(), and KeyframePasteContext::value_offset_mode.
Referenced by graphkeys_paste_exec().
|
static |
Definition at line 1619 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_update(), ANIM_editkeyframes_easing(), ANIM_fcurve_keyframes_loop(), ANIM_UPDATE_DEFAULT_NOHANDLES, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, BKE_fcurve_handles_recalc(), bAnimContext::data, bAnimContext::datatype, filter, and LISTBASE_FOREACH.
Referenced by graphkeys_easing_exec().
|
static |
Definition at line 1436 of file graph_edit.cc.
References add_fmodifier(), ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_update(), ANIM_UPDATE_DEPS, ANIM_UPDATE_HANDLES, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, CLEAR_CYCLIC_EXPO, bAnimContext::data, bAnimContext::datatype, FCurve::extend, filter, ListBase::first, FMODIFIER_TYPE_CYCLES, list_has_suitable_fmodifier(), LISTBASE_FOREACH, MAKE_CYCLIC_EXPO, FCurve::modifiers, FModifier::next, remove_fmodifier(), and FModifier::type.
Referenced by graphkeys_expo_exec().
|
static |
Definition at line 1696 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_update(), ANIM_editkeyframes_handles(), ANIM_editkeyframes_ok(), ANIM_fcurve_keyframes_loop(), ANIM_UPDATE_DEFAULT, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, BEZT_OK_SELECTED, BKE_fcurve_handles_recalc(), bAnimContext::data, bAnimContext::datatype, filter, and LISTBASE_FOREACH.
Referenced by graphkeys_handletype_exec().
|
static |
Definition at line 1540 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_update(), ANIM_editkeyframes_ipo(), ANIM_fcurve_keyframes_loop(), ANIM_UPDATE_DEFAULT_NOHANDLES, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, BKE_fcurve_handles_recalc(), bAnimContext::data, bAnimContext::datatype, filter, and LISTBASE_FOREACH.
Referenced by graphkeys_ipo_exec().
|
static |
Definition at line 2343 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_update(), ANIM_editkeyframes_snap(), ANIM_fcurve_keyframes_loop(), ANIM_get_normalization_flags(), ANIM_nla_mapping_apply_if_needed_fcurve(), ANIM_unit_mapping_get_factor(), ANIM_UPDATE_DEFAULT, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, BEZT_FLAG_TEMP_TAG, BKE_fcurve_handles_recalc(), BKE_fcurve_merge_duplicate_keys(), SpaceGraph::cursorTime, SpaceGraph::cursorVal, bAnimContext::data, bAnimContext::datatype, KeyframeEditData::f1, filter, ListBase::first, SpaceGraph::flag, GRAPHKEYS_SNAP_CFRA, GRAPHKEYS_SNAP_NEAREST_MARKER, GRAPHKEYS_SNAP_VALUE, Scene::id, ListBase::last, KeyframeEditData::list, LISTBASE_FOREACH, bAnimContext::markers, SpaceGraph::mode, bAnimContext::scene, KeyframeEditData::scene, SIPO_MODE_DRIVERS, SIPO_NOHANDLES, bAnimContext::sl, and SNAP_KEYS_TIME.
Referenced by graphkeys_snap_exec().
|
static |
Definition at line 2132 of file graph_edit.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_fcurve_keyframes_loop(), ANIM_get_normalization_flags(), ANIM_nla_mapping_apply_if_needed_fcurve(), ANIM_unit_mapping_get_factor(), ANIM_UNITCONV_ONLYKEYS, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_NODUPLIS, bezt_calc_average(), bAnimContext::data, bAnimContext::datatype, KeyframeEditData::f1, KeyframeEditData::f2, filter, KeyframeEditData::i1, KeyframeEditData::i2, Scene::id, LISTBASE_FOREACH, bAnimContext::scene, and bAnimContext::sl.
Referenced by graphkeys_framejump_exec(), and graphkeys_snap_cursor_value_exec().
|
static |
Definition at line 2505 of file graph_edit.cc.
Referenced by GRAPH_OT_equalize_handles().
|
static |
Definition at line 1410 of file graph_edit.cc.
Referenced by GRAPH_OT_extrapolation_type().
|
static |
Definition at line 79 of file graph_edit.cc.
Referenced by GRAPH_OT_keyframe_insert().
|
static |
Definition at line 2606 of file graph_edit.cc.
Referenced by GRAPH_OT_mirror().
|
static |
Definition at line 2307 of file graph_edit.cc.
Referenced by GRAPH_OT_snap().