Blender
V3.3
|
#include <float.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "DNA_anim_types.h"
#include "DNA_scene_types.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "RNA_prototypes.h"
#include "BLT_translation.h"
#include "BKE_animsys.h"
#include "BKE_context.h"
#include "BKE_fcurve.h"
#include "BKE_global.h"
#include "BKE_nla.h"
#include "BKE_report.h"
#include "DEG_depsgraph_build.h"
#include "UI_interface.h"
#include "UI_view2d.h"
#include "ED_anim_api.h"
#include "ED_keyframes_edit.h"
#include "ED_keyframing.h"
#include "ED_markers.h"
#include "ED_screen.h"
#include "ED_transform.h"
#include "WM_api.h"
#include "WM_types.h"
#include "graph_intern.h"
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 int | 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) } |
typedef enum eGraphKeys_InsertKey_Types | eGraphKeys_InsertKey_Types |
static const EnumPropertyItem | prop_graphkeys_insertkey_types [] |
static void | insert_graph_keys (bAnimContext *ac, eGraphKeys_InsertKey_Types mode) |
static int | graphkeys_insertkey_exec (bContext *C, wmOperator *op) |
void | GRAPH_OT_keyframe_insert (wmOperatorType *ot) |
'Euler Filter' Operator | |
Euler filter tools (as seen in Maya), are necessary for working with 'baked' rotation curves (with Euler rotations). The main purpose of such tools is to resolve any discontinuities that may arise in the curves due to the clamping of values to -180 degrees to 180 degrees. | |
typedef struct tEulerFilter | tEulerFilter |
static bool | keyframe_time_differs (BezTriple *keyframes[3]) |
static ListBase | euler_filter_group_channels (const ListBase *anim_data, ReportList *reports, int *r_num_groups) |
static bool | euler_filter_multi_channel (tEulerFilter *euf, ReportList *reports) |
static bool | euler_filter_single_channel (FCurve *fcu) |
static void | euler_filter_perform_filter (ListBase *eulers, ReportList *reports, int *r_curves_filtered, int *r_curves_seen) |
static int | graphkeys_euler_filter_exec (bContext *C, wmOperator *op) |
void | GRAPH_OT_euler_filter (wmOperatorType *ot) |
Snap Keyframes Operator | |
static const EnumPropertyItem | prop_graphkeys_snap_types [] |
static void | snap_graph_keys (bAnimContext *ac, short mode) |
static int | graphkeys_snap_exec (bContext *C, wmOperator *op) |
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 int | 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 int | graphkeys_mirror_exec (bContext *C, wmOperator *op) |
void | GRAPH_OT_mirror (wmOperatorType *ot) |
Insert duplicate and bake keyframes.
Definition in file graph_edit.c.
#define CLEAR_CYCLIC_EXPO -2 |
Definition at line 1341 of file graph_edit.c.
#define MAKE_CYCLIC_EXPO -1 |
Definition at line 1340 of file graph_edit.c.
typedef enum eGraphKeys_InsertKey_Types eGraphKeys_InsertKey_Types |
typedef struct tEulerFilter tEulerFilter |
Enumerator | |
---|---|
GRAPHKEYS_INSERTKEY_ALL | |
GRAPHKEYS_INSERTKEY_SEL | |
GRAPHKEYS_INSERTKEY_CURSOR | |
GRAPHKEYS_INSERTKEY_ACTIVE |
Definition at line 64 of file graph_edit.c.
|
static |
Definition at line 868 of file graph_edit.c.
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(), ListBase::first, bAnimListElem::key_data, bAnimListElem::next, NULL, and bAnimListElem::update.
Referenced by graphkeys_bake_exec().
|
static |
Definition at line 791 of file graph_edit.c.
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(), ListBase::first, bAnimListElem::next, NULL, and bAnimListElem::update.
Referenced by graphkeys_clean_exec().
|
static |
Definition at line 448 of file graph_edit.c.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_fcurves_copybuf_free(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, copy_animedit_keys(), bAnimContext::data, bAnimContext::datatype, filter(), and NULL.
Referenced by graphkeys_copy_exec().
|
static |
Definition at line 707 of file graph_edit.c.
References bAnimListElem::adt, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_update(), ANIM_fcurve_delete_from_animdata(), ANIM_UPDATE_DEFAULT, 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(), ListBase::first, bAnimListElem::key_data, bAnimListElem::next, NULL, and bAnimListElem::update.
Referenced by graphkeys_delete_exec().
|
static |
Definition at line 636 of file graph_edit.c.
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(), ListBase::first, bAnimListElem::key_data, bAnimListElem::next, NULL, and bAnimListElem::update.
Referenced by graphkeys_duplicate_exec().
|
static |
Definition at line 2372 of file graph_edit.c.
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(), bAnimListElem::key_data, LISTBASE_FOREACH, NULL, and bAnimListElem::update.
Referenced by graphkeys_equalize_handles_exec().
|
static |
Definition at line 1739 of file graph_edit.c.
References ANIM_UPDATE_DEFAULT, FCurve::array_index, BKE_reportf(), BLI_addtail(), bAnimListElem::data, ELEM, tEulerFilter::fcurves, bAnimListElem::id, tEulerFilter::id, if(), LISTBASE_FOREACH, MEM_callocN, ID::name, NULL, tEulerFilter::rna_path, FCurve::rna_path, RPT_WARNING, STREQ, TIP_, and bAnimListElem::update.
Referenced by graphkeys_euler_filter_exec().
|
static |
Definition at line 1796 of file graph_edit.c.
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, NULL, tEulerFilter::rna_path, RPT_INFO, FCurve::totvert, and BezTriple::vec.
Referenced by euler_filter_perform_filter().
|
static |
Definition at line 1910 of file graph_edit.c.
References euler_filter_multi_channel(), euler_filter_single_channel(), LISTBASE_FOREACH, min_ii(), and NULL.
Referenced by graphkeys_euler_filter_exec().
Definition at line 1871 of file graph_edit.c.
References FCurve::bezt, float(), M_PI, blender::meshintersect::prev(), KDL::sign(), FCurve::totvert, and BezTriple::vec.
Referenced by euler_filter_perform_filter().
|
static |
Definition at line 3063 of file graph_edit.c.
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, C, CTX_data_main(), bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, DEG_relations_tag_update(), FCurve::driver, DRIVER_FLAG_INVALID, ELEM, filter(), ListBase::first, ChannelDriver::flag, bAnimListElem::id, if(), NA_REMOVED, NC_ANIMATION, ND_KEYFRAME, bAnimListElem::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, FCurve::rna_path, RPT_INFO, WM_event_add_notifier(), WM_report(), and WM_reportf().
Referenced by GRAPH_OT_driver_delete_invalid().
Definition at line 3122 of file graph_edit.c.
References ANIM_animdata_get_context(), blender::compositor::area(), C, CTX_wm_area(), NULL, and SPACE_GRAPH.
Referenced by GRAPH_OT_driver_delete_invalid().
|
static |
Definition at line 2966 of file graph_edit.c.
References ANIM_driver_vars_copy(), C, CTX_data_pointer_get_type(), PointerRNA::data, OPERATOR_CANCELLED, OPERATOR_FINISHED, ptr, and wmOperator::reports.
Referenced by GRAPH_OT_driver_variables_copy().
|
static |
Definition at line 3007 of file graph_edit.c.
References ANIM_driver_vars_paste(), C, CTX_data_main(), CTX_data_pointer_get_type(), CTX_data_scene(), PointerRNA::data, DEG_relations_tag_update(), NC_SCENE, ND_FRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, ptr, wmOperator::reports, RNA_boolean_get(), and WM_event_add_notifier().
Referenced by GRAPH_OT_driver_variables_paste().
|
static |
Definition at line 2717 of file graph_edit.c.
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, bAnimListElem::data, bAnimContext::datatype, filter(), ListBase::first, FCurve::modifiers, NA_EDITED, NC_ANIMATION, ND_KEYFRAME, bAnimListElem::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), RPT_ERROR, set_active_fmodifier(), type, bAnimListElem::update, and WM_event_add_notifier().
Referenced by GRAPH_OT_fmodifier_add().
|
static |
Definition at line 2805 of file graph_edit.c.
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 2682 of file graph_edit.c.
References C, FMODIFIER_NUM_TYPES, get_fmodifier_typeinfo(), NULL, 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 2871 of file graph_edit.c.
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, bAnimListElem::data, bAnimContext::datatype, filter(), ListBase::first, FCurve::modifiers, NA_EDITED, NC_ANIMATION, ND_KEYFRAME, bAnimListElem::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_ERROR, bAnimListElem::update, and WM_event_add_notifier().
Referenced by GRAPH_OT_fmodifier_paste().
void GRAPH_OT_bake | ( | wmOperatorType * | ot | ) |
Definition at line 929 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_bake_exec(), graphop_selected_fcurve_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and WM_operator_confirm().
Referenced by graphedit_operatortypes().
void GRAPH_OT_clean | ( | wmOperatorType * | ot | ) |
Definition at line 838 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_clean_exec(), graphop_editable_keyframes_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_float(), and wmOperatorType::srna.
Referenced by graphedit_operatortypes().
void GRAPH_OT_click_insert | ( | wmOperatorType * | ot | ) |
Definition at line 402 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_click_insert_exec(), graphkeys_click_insert_invoke(), graphop_active_fcurve_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_float(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by graphedit_operatortypes().
void GRAPH_OT_copy | ( | wmOperatorType * | ot | ) |
Definition at line 527 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_copy_exec(), graphop_editable_keyframes_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by graphedit_operatortypes().
void GRAPH_OT_delete | ( | wmOperatorType * | ot | ) |
Definition at line 768 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_delete_exec(), graphop_editable_keyframes_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, WM_operator_confirm_or_exec(), and WM_operator_properties_confirm_or_exec().
Referenced by graphedit_operatortypes().
void GRAPH_OT_driver_delete_invalid | ( | wmOperatorType * | ot | ) |
Definition at line 3136 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graph_driver_delete_invalid_exec(), graph_driver_delete_invalid_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by graphedit_operatortypes().
void GRAPH_OT_driver_variables_copy | ( | wmOperatorType * | ot | ) |
Definition at line 2986 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graph_driver_vars_copy_exec(), graphop_active_editable_fcurve_ctx_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by graphedit_operatortypes().
void GRAPH_OT_driver_variables_paste | ( | wmOperatorType * | ot | ) |
Definition at line 3034 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graph_driver_vars_paste_exec(), graphop_active_editable_fcurve_ctx_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by graphedit_operatortypes().
void GRAPH_OT_duplicate | ( | wmOperatorType * | ot | ) |
Definition at line 683 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_duplicate_exec(), graphop_editable_keyframes_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_enum(), rna_enum_transform_mode_types, wmOperatorType::srna, and TFM_TRANSLATION.
Referenced by graphedit_operatortypes().
void GRAPH_OT_easing_type | ( | wmOperatorType * | ot | ) |
Definition at line 1600 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_easing_exec(), graphop_editable_keyframes_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), rna_enum_beztriple_interpolation_easing_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by graphedit_operatortypes().
void GRAPH_OT_equalize_handles | ( | wmOperatorType * | ot | ) |
Definition at line 2412 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_equalize_handles_exec(), graphop_editable_keyframes_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_graphkeys_equalize_handles_sides, RNA_def_boolean(), RNA_def_enum(), RNA_def_float(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by graphedit_operatortypes().
void GRAPH_OT_euler_filter | ( | wmOperatorType * | ot | ) |
Definition at line 2021 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_euler_filter_exec(), graphop_editable_keyframes_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by graphedit_operatortypes().
void GRAPH_OT_extrapolation_type | ( | wmOperatorType * | ot | ) |
Definition at line 1448 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_expo_exec(), graphop_editable_keyframes_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_graphkeys_expo_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by graphedit_operatortypes().
void GRAPH_OT_fmodifier_add | ( | wmOperatorType * | ot | ) |
Definition at line 2772 of file graph_edit.c.
References BLT_I18NCONTEXT_ID_ACTION, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graph_fmodifier_add_exec(), graph_fmodifier_itemf(), graphop_selected_fcurve_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_translation_context(), rna_enum_fmodifier_type_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by graphedit_operatortypes().
void GRAPH_OT_fmodifier_copy | ( | wmOperatorType * | ot | ) |
Definition at line 2841 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graph_fmodifier_copy_exec(), graphop_active_fcurve_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by graphedit_operatortypes().
void GRAPH_OT_fmodifier_paste | ( | wmOperatorType * | ot | ) |
Definition at line 2932 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graph_fmodifier_paste_exec(), graphop_active_fcurve_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by graphedit_operatortypes().
void GRAPH_OT_frame_jump | ( | wmOperatorType * | ot | ) |
Definition at line 2144 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_framejump_exec(), graphkeys_framejump_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by graphedit_operatortypes().
void GRAPH_OT_handle_type | ( | wmOperatorType * | ot | ) |
Definition at line 1685 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_handletype_exec(), graphop_editable_keyframes_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), rna_enum_keyframe_handle_type_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by graphedit_operatortypes().
void GRAPH_OT_interpolation_type | ( | wmOperatorType * | ot | ) |
Definition at line 1524 of file graph_edit.c.
References BLT_I18NCONTEXT_ID_ACTION, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_ipo_exec(), graphop_editable_keyframes_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_property_translation_context(), rna_enum_beztriple_interpolation_mode_items, wmOperatorType::srna, and WM_menu_invoke().
Referenced by graphedit_operatortypes().
void GRAPH_OT_keyframe_insert | ( | wmOperatorType * | ot | ) |
Definition at line 260 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_insertkey_exec(), graphop_editable_keyframes_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_graphkeys_insertkey_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by graphedit_operatortypes().
void GRAPH_OT_mirror | ( | wmOperatorType * | ot | ) |
Definition at line 2596 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_mirror_exec(), graphop_editable_keyframes_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_graphkeys_mirror_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by graphedit_operatortypes().
void GRAPH_OT_paste | ( | wmOperatorType * | ot | ) |
Definition at line 591 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::get_description, graphkeys_paste_description(), graphkeys_paste_exec(), graphop_editable_keyframes_poll(), wmOperatorType::idname, KEYFRAME_PASTE_MERGE_MIX, KEYFRAME_PASTE_OFFSET_CFRA_START, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, 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 wmOperatorType::srna.
Referenced by graphedit_operatortypes().
void GRAPH_OT_sample | ( | wmOperatorType * | ot | ) |
Definition at line 1315 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_sample_exec(), graphop_editable_keyframes_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by graphedit_operatortypes().
void GRAPH_OT_smooth | ( | wmOperatorType * | ot | ) |
Definition at line 2658 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_smooth_exec(), graphop_editable_keyframes_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by graphedit_operatortypes().
void GRAPH_OT_snap | ( | wmOperatorType * | ot | ) |
Definition at line 2336 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_snap_exec(), graphop_editable_keyframes_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_graphkeys_snap_types, RNA_def_enum(), wmOperatorType::srna, and WM_menu_invoke().
Referenced by graphedit_operatortypes().
void GRAPH_OT_snap_cursor_value | ( | wmOperatorType * | ot | ) |
Definition at line 2184 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_framejump_poll(), graphkeys_snap_cursor_value_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by graphedit_operatortypes().
void GRAPH_OT_sound_bake | ( | wmOperatorType * | ot | ) |
Definition at line 1163 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, FILE_TYPE_MOVIE, FILE_TYPE_SOUND, wmOperatorType::flag, graphkeys_sound_bake_exec(), graphkeys_sound_bake_invoke(), graphop_selected_fcurve_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), RNA_def_float(), wmOperatorType::srna, WM_FILESEL_FILEPATH, WM_FILESEL_SHOW_PROPS, and WM_operator_properties_filesel().
Referenced by graphedit_operatortypes().
void GRAPH_OT_unbake | ( | wmOperatorType * | ot | ) |
Definition at line 1006 of file graph_edit.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_unbake_exec(), graphop_selected_fcurve_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by graphedit_operatortypes().
|
static |
Definition at line 902 of file graph_edit.c.
References ANIM_animdata_get_context(), bake_graph_curves(), C, NA_EDITED, NC_ANIMATION, ND_KEYFRAME, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, PEFRA, PSFRA, scene, bAnimContext::scene, and WM_event_add_notifier().
Referenced by GRAPH_OT_bake().
|
static |
Definition at line 815 of file graph_edit.c.
References ANIM_animdata_get_context(), C, clean_graph_keys(), NA_EDITED, NC_ANIMATION, ND_KEYFRAME, NULL, 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 285 of file graph_edit.c.
References ANIM_animdata_get_context(), ANIM_animdata_update(), ANIM_get_normalization_flags(), ANIM_nla_mapping_get(), ANIM_unit_mapping_get_factor(), ANIM_UNITCONV_RESTORE, ANIM_UPDATE_DEPS, BKE_fcurve_is_keyframable(), BKE_nla_tweakedit_remap(), BKE_report(), BLI_addtail(), BLI_listbase_clear(), C, bAnimListElem::data, deselect_graph_keys(), ELEM, FCURVE_PROTECTED, FCurve::flag, FCurve::fpt, get_active_fcurve_channel(), bAnimListElem::id, insert_vert_fcurve(), ToolSettings::keyframe_type, MEM_freeN, NA_EDITED, NC_ANIMATION, ND_KEYFRAME, NLATIME_CONVERT_UNMAP, NULL, offset, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_float_get(), RPT_ERROR, bAnimContext::scene, SELECT_SUBTRACT, Scene::toolsettings, bAnimListElem::update, and WM_event_add_notifier().
Referenced by GRAPH_OT_click_insert(), and graphkeys_click_insert_invoke().
|
static |
Definition at line 373 of file graph_edit.c.
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 508 of file graph_edit.c.
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 748 of file graph_edit.c.
References ANIM_animdata_get_context(), C, delete_graph_keys(), NA_REMOVED, NC_ANIMATION, ND_KEYFRAME, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by GRAPH_OT_delete().
|
static |
Definition at line 663 of file graph_edit.c.
References ANIM_animdata_get_context(), C, duplicate_graph_keys(), NA_ADDED, NC_ANIMATION, ND_KEYFRAME, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by GRAPH_OT_duplicate().
|
static |
Definition at line 1578 of file graph_edit.c.
References ANIM_animdata_get_context(), C, NC_ANIMATION, ND_KEYFRAME_PROP, NULL, 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 2390 of file graph_edit.c.
References ANIM_animdata_get_context(), C, equalize_graph_keys(), NA_EDITED, NC_ANIMATION, ND_KEYFRAME, NULL, 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 1941 of file graph_edit.c.
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, NULL, 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 1426 of file graph_edit.c.
References ANIM_animdata_get_context(), C, NC_ANIMATION, ND_KEYFRAME_PROP, NULL, 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 2104 of file graph_edit.c.
References ANIM_animdata_get_context(), C, RenderData::cfra, SpaceGraph::cursorTime, SpaceGraph::cursorVal, KeyframeEditData::f1, KeyframeEditData::f2, float(), KeyframeEditData::i1, if(), SpaceGraph::mode, NC_SCENE, ND_FRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, Scene::r, round_fl_to_int(), scene, bAnimContext::scene, SIPO_MODE_DRIVERS, bAnimContext::sl, RenderData::subframe, sum_selected_keyframes(), and WM_event_add_notifier().
Referenced by GRAPH_OT_frame_jump().
Definition at line 2048 of file graph_edit.c.
References C, G, and graphop_visible_keyframes_poll().
Referenced by GRAPH_OT_frame_jump(), and GRAPH_OT_snap_cursor_value().
|
static |
Definition at line 1663 of file graph_edit.c.
References ANIM_animdata_get_context(), C, NC_ANIMATION, ND_KEYFRAME_PROP, NULL, 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 238 of file graph_edit.c.
References ANIM_animdata_get_context(), C, insert_graph_keys(), NA_ADDED, NC_ANIMATION, ND_KEYFRAME, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), and WM_event_add_notifier().
Referenced by GRAPH_OT_keyframe_insert().
|
static |
Definition at line 1502 of file graph_edit.c.
References ANIM_animdata_get_context(), C, NC_ANIMATION, ND_KEYFRAME_PROP, NULL, 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 2574 of file graph_edit.c.
References ANIM_animdata_get_context(), C, mirror_graph_keys(), NA_EDITED, NC_ANIMATION, ND_KEYFRAME, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), and WM_event_add_notifier().
Referenced by GRAPH_OT_mirror().
|
static |
Definition at line 578 of file graph_edit.c.
References BLI_strdup(), NULL, ptr, RNA_boolean_get(), and TIP_.
Referenced by GRAPH_OT_paste().
|
static |
Definition at line 542 of file graph_edit.c.
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, NULL, 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 1297 of file graph_edit.c.
References ANIM_animdata_get_context(), C, NA_EDITED, NC_ANIMATION, ND_KEYFRAME, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, sample_graph_keys(), and WM_event_add_notifier().
Referenced by GRAPH_OT_sample().
|
static |
Definition at line 2621 of file graph_edit.c.
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::first, bAnimListElem::key_data, NA_EDITED, NC_ANIMATION, ND_KEYFRAME, bAnimListElem::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, smooth_fcurve(), bAnimListElem::update, and WM_event_add_notifier().
Referenced by GRAPH_OT_smooth().
|
static |
Definition at line 2160 of file graph_edit.c.
References ANIM_animdata_get_context(), C, CTX_wm_region(), SpaceGraph::cursorVal, ED_region_tag_redraw(), KeyframeEditData::f2, KeyframeEditData::i1, OPERATOR_CANCELLED, OPERATOR_FINISHED, bAnimContext::sl, and sum_selected_keyframes().
Referenced by GRAPH_OT_snap_cursor_value().
|
static |
Definition at line 2314 of file graph_edit.c.
References ANIM_animdata_get_context(), C, NA_EDITED, NC_ANIMATION, ND_KEYFRAME, NULL, 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 1142 of file graph_edit.c.
References BKE_report(), OPERATOR_CANCELLED, wmOperator::reports, and RPT_ERROR.
Referenced by GRAPH_OT_sound_bake().
|
static |
Definition at line 1151 of file graph_edit.c.
References ANIM_animdata_get_context(), C, OPERATOR_CANCELLED, and WM_operator_filesel().
Referenced by GRAPH_OT_sound_bake().
|
static |
Definition at line 981 of file graph_edit.c.
References ANIM_animdata_get_context(), C, NA_EDITED, NC_ANIMATION, ND_KEYFRAME, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, PEFRA, PSFRA, scene, bAnimContext::scene, unbake_graph_curves(), and WM_event_add_notifier().
Referenced by GRAPH_OT_unbake().
|
static |
Definition at line 97 of file graph_edit.c.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_update(), ANIM_get_keyframing_flags(), ANIM_get_normalization_flags(), ANIM_nla_mapping_get(), ANIM_unit_mapping_get_factor(), ANIM_UPDATE_DEFAULT, ANIMFILTER_ACTIVE, ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, FCurve::array_index, BKE_animsys_eval_context_construct(), BKE_animsys_free_nla_keyframing_context_cache(), BKE_nla_tweakedit_remap(), BKE_report(), bAnimContext::bmain, RenderData::cfra, SpaceGraph::cursorTime, SpaceGraph::cursorVal, bAnimContext::data, bAnimContext::datatype, bAnimContext::depsgraph, FCurve::driver, evaluate_fcurve_only_curve(), filter(), ListBase::first, float(), GRAPHKEYS_INSERTKEY_ACTIVE, GRAPHKEYS_INSERTKEY_CURSOR, GRAPHKEYS_INSERTKEY_SEL, FCurve::grp, bAnimListElem::id, if(), insert_keyframe(), insert_vert_fcurve(), bAnimListElem::key_data, SpaceGraph::mode, bActionGroup::name, bAnimListElem::next, NLATIME_CONVERT_UNMAP, NULL, offset, bAnimListElem::owner, Scene::r, bAnimContext::reports, FCurve::rna_path, RPT_ERROR, scene, bAnimContext::scene, SIPO_MODE_DRIVERS, bAnimContext::sl, Scene::toolsettings, bAnimListElem::update, x, and y.
Referenced by graphkeys_insertkey_exec().
Definition at line 1730 of file graph_edit.c.
Referenced by euler_filter_multi_channel().
|
static |
Definition at line 2490 of file graph_edit.c.
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_fcurve(), ANIM_nla_mapping_get(), 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(), filter(), ListBase::first, float(), TimeMarker::frame, GRAPHKEYS_MIRROR_CFRA, GRAPHKEYS_MIRROR_MARKER, GRAPHKEYS_MIRROR_VALUE, bAnimListElem::id, bAnimListElem::key_data, bAnimContext::markers, MIRROR_KEYS_TIME, SpaceGraph::mode, bAnimListElem::next, NULL, offset, bAnimContext::scene, SIPO_MODE_DRIVERS, bAnimContext::sl, and bAnimListElem::update.
Referenced by graphkeys_mirror_exec().
|
static |
Definition at line 476 of file graph_edit.c.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, bAnimContext::data, bAnimContext::datatype, filter(), NULL, and paste_animedit_keys().
Referenced by graphkeys_paste_exec().
|
static |
Definition at line 1273 of file graph_edit.c.
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, bAnimContext::data, bAnimContext::datatype, filter(), ListBase::first, bAnimListElem::key_data, bAnimListElem::next, NULL, sample_fcurve(), and bAnimListElem::update.
Referenced by graphkeys_sample_exec().
|
static |
Definition at line 1552 of file graph_edit.c.
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(), ListBase::first, bAnimListElem::key_data, bAnimListElem::next, NULL, and bAnimListElem::update.
Referenced by graphkeys_easing_exec().
|
static |
Definition at line 1370 of file graph_edit.c.
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, bAnimListElem::data, bAnimContext::datatype, FCurve::extend, filter(), ListBase::first, FMODIFIER_TYPE_CYCLES, if(), list_has_suitable_fmodifier(), MAKE_CYCLIC_EXPO, FCurve::modifiers, bAnimListElem::next, FModifier::next, NULL, remove_fmodifier(), FModifier::type, and bAnimListElem::update.
Referenced by graphkeys_expo_exec().
|
static |
Definition at line 1628 of file graph_edit.c.
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(), ListBase::first, if(), bAnimListElem::key_data, bAnimListElem::next, NULL, and bAnimListElem::update.
Referenced by graphkeys_handletype_exec().
|
static |
Definition at line 1474 of file graph_edit.c.
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(), ListBase::first, bAnimListElem::key_data, bAnimListElem::next, NULL, and bAnimListElem::update.
Referenced by graphkeys_ipo_exec().
|
static |
Definition at line 2242 of file graph_edit.c.
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_fcurve(), ANIM_nla_mapping_get(), ANIM_unit_mapping_get_factor(), 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, filter(), ListBase::first, GRAPHKEYS_SNAP_CFRA, GRAPHKEYS_SNAP_NEAREST_MARKER, GRAPHKEYS_SNAP_VALUE, bAnimListElem::id, bAnimListElem::key_data, ListBase::last, bAnimContext::markers, SpaceGraph::mode, bAnimListElem::next, NULL, offset, bAnimContext::scene, SIPO_MODE_DRIVERS, bAnimContext::sl, SNAP_KEYS_TIME, and bAnimListElem::update.
Referenced by graphkeys_snap_exec().
|
static |
Definition at line 2058 of file graph_edit.c.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_fcurve_keyframes_loop(), ANIM_get_normalization_flags(), ANIM_nla_mapping_apply_fcurve(), ANIM_nla_mapping_get(), 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(), ListBase::first, KeyframeEditData::i1, KeyframeEditData::i2, bAnimListElem::id, bAnimListElem::key_data, bAnimListElem::next, NULL, offset, and bAnimContext::scene.
Referenced by graphkeys_framejump_exec(), and graphkeys_snap_cursor_value_exec().
|
static |
Definition at line 956 of file graph_edit.c.
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(), ListBase::first, bAnimListElem::key_data, bAnimListElem::next, NULL, and bAnimListElem::update.
Referenced by graphkeys_unbake_exec().
|
static |
Definition at line 2362 of file graph_edit.c.
Referenced by GRAPH_OT_equalize_handles().
|
static |
Definition at line 1344 of file graph_edit.c.
Referenced by GRAPH_OT_extrapolation_type().
|
static |
Definition at line 72 of file graph_edit.c.
Referenced by GRAPH_OT_keyframe_insert().
|
static |
Definition at line 2459 of file graph_edit.c.
Referenced by GRAPH_OT_mirror().
|
static |
Definition at line 2206 of file graph_edit.c.
Referenced by GRAPH_OT_snap().