Blender
V3.3
|
#include <math.h>
#include <stdlib.h>
#include "DNA_scene_types.h"
#include "BLI_blenlib.h"
#include "BLI_math_base.h"
#include "BLI_utildefines.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "UI_view2d.h"
#include "ED_anim_api.h"
#include "ED_screen.h"
#include "ED_transform.h"
#include "graph_intern.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "DEG_depsgraph.h"
#include "WM_api.h"
#include "WM_types.h"
Go to the source code of this file.
Definition at line 487 of file graph_ops.c.
References OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorTypeMacro::ptr, RNA_boolean_set(), RNA_enum_set(), TFM_TIME_DUPLICATE, WM_operatortype_append_macro(), and WM_operatortype_macro_define().
Referenced by ED_spacemacros_init().
|
static |
Definition at line 193 of file graph_ops.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphview_cursor_exec(), graphview_cursor_invoke(), graphview_cursor_modal(), graphview_cursor_poll(), wmOperatorType::idname, wmOperatorType::invoke, MAXFRAMEF, MINAFRAMEF, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_GRAB_CURSOR_X, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float(), and wmOperatorType::srna.
Referenced by graphedit_operatortypes().
|
static |
Definition at line 312 of file graph_ops.c.
References wmOperatorType::description, ED_operator_graphedit_active(), wmOperatorType::exec, wmOperatorType::flag, graphview_curves_hide_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by graphedit_operatortypes().
|
static |
Definition at line 394 of file graph_ops.c.
References wmOperatorType::description, ED_operator_graphedit_active(), wmOperatorType::exec, wmOperatorType::flag, graphview_curves_reveal_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by graphedit_operatortypes().
void graphedit_keymap | ( | wmKeyConfig * | keyconf | ) |
Definition at line 508 of file graph_ops.c.
References SPACE_GRAPH, and WM_keymap_ensure().
Referenced by ED_spacetype_ipo().
Definition at line 417 of file graph_ops.c.
References GRAPH_OT_bake(), GRAPH_OT_blend_to_default(), GRAPH_OT_blend_to_neighbor(), GRAPH_OT_breakdown(), GRAPH_OT_clean(), GRAPH_OT_click_insert(), GRAPH_OT_clickselect(), GRAPH_OT_copy(), GRAPH_OT_cursor_set(), GRAPH_OT_decimate(), GRAPH_OT_delete(), GRAPH_OT_driver_delete_invalid(), GRAPH_OT_driver_variables_copy(), GRAPH_OT_driver_variables_paste(), GRAPH_OT_duplicate(), GRAPH_OT_easing_type(), GRAPH_OT_equalize_handles(), GRAPH_OT_euler_filter(), GRAPH_OT_extrapolation_type(), GRAPH_OT_fmodifier_add(), GRAPH_OT_fmodifier_copy(), GRAPH_OT_fmodifier_paste(), GRAPH_OT_frame_jump(), GRAPH_OT_ghost_curves_clear(), GRAPH_OT_ghost_curves_create(), GRAPH_OT_handle_type(), GRAPH_OT_hide(), GRAPH_OT_interpolation_type(), GRAPH_OT_keyframe_insert(), GRAPH_OT_mirror(), GRAPH_OT_paste(), GRAPH_OT_previewrange_set(), GRAPH_OT_reveal(), GRAPH_OT_sample(), GRAPH_OT_select_all(), GRAPH_OT_select_box(), GRAPH_OT_select_circle(), GRAPH_OT_select_column(), GRAPH_OT_select_lasso(), GRAPH_OT_select_leftright(), GRAPH_OT_select_less(), GRAPH_OT_select_linked(), GRAPH_OT_select_more(), GRAPH_OT_smooth(), GRAPH_OT_snap(), GRAPH_OT_snap_cursor_value(), GRAPH_OT_sound_bake(), GRAPH_OT_unbake(), GRAPH_OT_view_all(), GRAPH_OT_view_frame(), GRAPH_OT_view_selected(), and WM_operatortype_append().
Referenced by ED_spacetype_ipo().
|
static |
Definition at line 58 of file graph_ops.c.
References C, RenderData::cfra, CLAMP, CTX_data_scene(), CTX_wm_space_graph(), SpaceGraph::cursorTime, SpaceGraph::cursorVal, DEG_id_tag_update(), RenderData::flag, FRAMENUMBER_MIN_CLAMP, Scene::id, ID_RECALC_FRAME_CHANGE, SpaceGraph::mode, NC_SCENE, ND_FRAME, PEFRA, PSFRA, wmOperator::ptr, Scene::r, RNA_float_get(), round_fl_to_int(), scene, SCER_LOCK_FRAME_SELECTION, SIPO_MODE_DRIVERS, RenderData::subframe, and WM_event_add_notifier().
Referenced by graphview_cursor_exec(), graphview_cursor_invoke(), and graphview_cursor_modal().
|
static |
Definition at line 103 of file graph_ops.c.
References C, graphview_cursor_apply(), and OPERATOR_FINISHED.
Referenced by GRAPH_OT_cursor_set().
|
static |
Definition at line 132 of file graph_ops.c.
References C, CTX_wm_screen(), graphview_cursor_apply(), graphview_cursor_setprops(), OPERATOR_RUNNING_MODAL, bScreen::scrubbing, and WM_event_add_modal_handler().
Referenced by GRAPH_OT_cursor_set().
|
static |
Definition at line 154 of file graph_ops.c.
References C, CTX_data_scene(), CTX_wm_screen(), EVT_ESCKEY, graphview_cursor_apply(), graphview_cursor_setprops(), KM_RELEASE, LEFTMOUSE, MIDDLEMOUSE, MOUSEMOVE, NC_SCENE, ND_FRAME, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, RIGHTMOUSE, scene, bScreen::scrubbing, wmEvent::type, wmEvent::val, and WM_event_add_notifier().
Referenced by GRAPH_OT_cursor_set().
Definition at line 47 of file graph_ops.c.
References C, ED_operator_graphedit_active(), and G.
Referenced by GRAPH_OT_cursor_set().
|
static |
Definition at line 112 of file graph_ops.c.
References C, CTX_wm_region(), wmEvent::mval, NULL, wmOperator::ptr, RNA_float_set(), UI_view2d_region_to_view(), and ARegion::v2d.
Referenced by graphview_cursor_invoke(), and graphview_cursor_modal().
|
static |
Definition at line 220 of file graph_ops.c.
References ACHANNEL_SETFLAG_ADD, ACHANNEL_SETFLAG_CLEAR, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIM_channel_setting_set(), ANIM_flush_setting_anim_channels(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_NODUPLIS, ANIMFILTER_SEL, ANIMFILTER_UNSEL, ANIMTYPE_OBJECT, BLI_freelistN(), C, bAnimContext::data, bAnimContext::datatype, filter(), ListBase::first, NA_EDITED, NC_ANIMATION, ND_ANIMCHAN, bAnimListElem::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), bAnimListElem::type, and WM_event_add_notifier().
Referenced by GRAPH_OT_hide().
|
static |
Definition at line 333 of file graph_ops.c.
References ACHANNEL_SETFLAG_ADD, ACHANNEL_SETFLAG_CLEAR, ACHANNEL_SETTING_SELECT, ACHANNEL_SETTING_VISIBLE, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIM_channel_setting_get(), ANIM_channel_setting_set(), ANIM_flush_setting_anim_channels(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, ANIMFILTER_NODUPLIS, ANIMTYPE_OBJECT, BLI_freelistN(), C, bAnimContext::data, bAnimContext::datatype, filter(), ListBase::first, NA_EDITED, NC_ANIMATION, ND_ANIMCHAN, bAnimListElem::next, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), select(), bAnimListElem::type, and WM_event_add_notifier().
Referenced by GRAPH_OT_reveal().