Blender
V3.3
|
Go to the source code of this file.
Enumerator | |
---|---|
GRAPHKEYS_COLUMNSEL_KEYS | |
GRAPHKEYS_COLUMNSEL_CFRA | |
GRAPHKEYS_COLUMNSEL_MARKERS_COLUMN | |
GRAPHKEYS_COLUMNSEL_MARKERS_BETWEEN |
Definition at line 78 of file graph_intern.h.
Enumerator | |
---|---|
GRAPHKEYS_EQUALIZE_LEFT | |
GRAPHKEYS_EQUALIZE_RIGHT | |
GRAPHKEYS_EQUALIZE_BOTH |
Definition at line 151 of file graph_intern.h.
Enumerator | |
---|---|
GRAPHKEYS_LRSEL_TEST | |
GRAPHKEYS_LRSEL_LEFT | |
GRAPHKEYS_LRSEL_RIGHT |
Definition at line 71 of file graph_intern.h.
Enumerator | |
---|---|
GRAPHKEYS_MIRROR_CFRA | |
GRAPHKEYS_MIRROR_YAXIS | |
GRAPHKEYS_MIRROR_XAXIS | |
GRAPHKEYS_MIRROR_MARKER | |
GRAPHKEYS_MIRROR_VALUE |
Definition at line 160 of file graph_intern.h.
enum eGraphKeys_Snap_Mode |
Enumerator | |
---|---|
GRAPHKEYS_SNAP_CFRA | |
GRAPHKEYS_SNAP_NEAREST_FRAME | |
GRAPHKEYS_SNAP_NEAREST_SECOND | |
GRAPHKEYS_SNAP_NEAREST_MARKER | |
GRAPHKEYS_SNAP_HORIZONTAL | |
GRAPHKEYS_SNAP_VALUE |
Definition at line 139 of file graph_intern.h.
void deselect_graph_keys | ( | struct bAnimContext * | ac, |
bool | test, | ||
short | sel, | ||
bool | do_channels | ||
) |
Deselects keyframes in the Graph Editor
Definition at line 335 of file graph_select.c.
References filter(), NULL, and bAnimContext::sl.
Referenced by graph_circle_select_exec(), graphkeys_box_select_exec(), graphkeys_click_insert_exec(), graphkeys_deselectall_exec(), graphkeys_lassoselect_exec(), graphkeys_mselect_column(), graphkeys_select_leftright(), and mouse_graph_keys().
struct bAnimListElem* get_active_fcurve_channel | ( | struct bAnimContext * | ac | ) |
Find 'active' F-Curve. It must be editable, since that's the purpose of these buttons (subject to change). We return the 'wrapper' since it contains valuable context info (about hierarchy), which will need to be freed when the caller is done with it.
Definition at line 81 of file graph_utils.c.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMFILTER_ACTIVE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, BLI_remlink(), bAnimContext::data, bAnimContext::datatype, filter(), ListBase::first, and NULL.
Referenced by graph_fmodifier_copy_exec(), graph_panel_context(), graphkeys_click_insert_exec(), graphkeys_deselectall_exec(), and graphop_active_fcurve_poll().
void get_graph_keyframe_extents | ( | struct bAnimContext * | ac, |
float * | xmin, | ||
float * | xmax, | ||
float * | ymin, | ||
float * | ymax, | ||
bool | do_sel_only, | ||
bool | include_handles | ||
) |
Get the min/max keyframes.
Definition at line 43 of file graph_view.c.
References NULL, scene, bAnimContext::scene, and bAnimContext::sl.
Referenced by graph_main_region_draw(), graphkeys_previewrange_exec(), and graphkeys_viewall().
void graph_buttons_register | ( | struct ARegionType * | art | ) |
Definition at line 1398 of file graph_buttons.c.
References ANIM_modifier_panels_register_graph_and_NLA(), ANIM_modifier_panels_register_graph_only(), BLI_addtail(), BLT_I18NCONTEXT_DEFAULT_BPYRNA, PanelType::category, PanelType::draw, PanelType::draw_header, PanelType::flag, GRAPH_FMODIFIER_PANEL_PREFIX, graph_panel_cursor(), graph_panel_cursor_header(), graph_panel_driven_property(), graph_panel_drivers(), graph_panel_drivers_poll(), graph_panel_drivers_popover(), graph_panel_drivers_popover_poll(), graph_panel_key_properties(), graph_panel_modifiers(), graph_panel_poll(), graph_panel_properties(), PanelType::idname, PanelType::label, MEM_callocN, N_, PANEL_TYPE_NO_HEADER, ARegionType::paneltypes, PanelType::poll, PanelType::translation_context, and WM_paneltype_add().
Referenced by ED_spacetype_ipo().
void graph_draw_channel_names | ( | struct bContext * | C, |
struct bAnimContext * | ac, | ||
struct ARegion * | region | ||
) |
Left hand part.
Definition at line 1385 of file graph_draw.c.
References ACHANNEL_FIRST_TOP, ACHANNEL_HEIGHT, ACHANNEL_STEP, ACHANNEL_TOT_HEIGHT, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_channel_draw(), ANIM_channel_draw_widgets(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, BLI_rctf_init(), C, View2D::cur, bAnimContext::data, bAnimContext::datatype, filter(), ListBase::first, GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, height, IN_RANGE, bAnimListElem::next, NULL, View2D::tot, UI_block_begin(), UI_block_draw(), UI_block_end(), UI_EMBOSS, ARegion::v2d, V2D_SCROLL_WIDTH, rctf::xmax, rctf::ymax, and rctf::ymin.
Referenced by graph_channel_region_draw().
void graph_draw_curves | ( | struct bAnimContext * | ac, |
struct SpaceGraph * | sipo, | ||
struct ARegion * | region, | ||
short | sel | ||
) |
This is called twice from space_graph.c -> graph_main_region_draw() Unselected then selected F-Curves are drawn so that they do not occlude each other.
Definition at line 1344 of file graph_draw.c.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_SEL, ANIMFILTER_UNSEL, bAnimContext::data, bAnimContext::datatype, draw_fcurve(), FCURVE_ACTIVE, filter(), ListBase::first, FCurve::flag, if(), bAnimListElem::key_data, bAnimListElem::next, and NULL.
Referenced by graph_main_region_draw().
void graph_draw_ghost_curves | ( | struct bAnimContext * | ac, |
struct SpaceGraph * | sipo, | ||
struct ARegion * | region | ||
) |
Draw the 'ghost' F-Curves (i.e. snapshots of the curve)
Definition at line 1297 of file graph_draw.c.
References FCurve::color, draw_fcurve_curve_samples(), ListBase::first, SpaceGraph::flag, SpaceGraph_Runtime::ghost_curves, GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_COMP_F32, GPU_FETCH_FLOAT, GPU_line_smooth(), GPU_line_width(), GPU_SHADER_2D_LINE_DASHED_UNIFORM_COLOR, GPU_vertformat_attr_add(), GPU_viewport_size_get_f(), immBindBuiltinProgram(), immUnbindProgram(), immUniform1f(), immUniform1i(), immUniform2f(), immUniformColor3fvAlpha(), immVertexFormat(), FCurve::next, NULL, SpaceGraph::runtime, SIPO_BEAUTYDRAW_OFF, SIPO_NO_DRAW_EXTRAPOLATION, UI_DPI_FAC, and ARegion::v2d.
Referenced by graph_main_region_draw().
void GRAPH_OT_bake | ( | struct 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_blend_to_default | ( | struct wmOperatorType * | ot | ) |
Definition at line 906 of file graph_slider_ops.c.
References blend_to_default_exec(), blend_to_default_invoke(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graph_slider_modal(), graphop_editable_keyframes_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float_factor(), and wmOperatorType::srna.
Referenced by graphedit_operatortypes().
void GRAPH_OT_blend_to_neighbor | ( | struct wmOperatorType * | ot | ) |
Definition at line 652 of file graph_slider_ops.c.
References blend_to_neighbor_exec(), blend_to_neighbor_invoke(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graph_slider_modal(), graphop_editable_keyframes_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float_factor(), and wmOperatorType::srna.
Referenced by graphedit_operatortypes().
void GRAPH_OT_breakdown | ( | struct wmOperatorType * | ot | ) |
Definition at line 777 of file graph_slider_ops.c.
References breakdown_exec(), breakdown_invoke(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graph_slider_modal(), graphop_editable_keyframes_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float_factor(), and wmOperatorType::srna.
Referenced by graphedit_operatortypes().
void GRAPH_OT_clean | ( | struct 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 | ( | struct 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_clickselect | ( | struct wmOperatorType * | ot | ) |
Definition at line 1963 of file graph_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_clickselect_exec(), graphop_visible_keyframes_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), wmOperatorType::srna, WM_generic_select_invoke(), WM_generic_select_modal(), and WM_operator_properties_generic_select().
Referenced by graphedit_operatortypes().
void GRAPH_OT_copy | ( | struct 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_decimate | ( | struct wmOperatorType * | ot | ) |
Definition at line 503 of file graph_slider_ops.c.
References DECIM_RATIO, decimate_desc(), decimate_exec(), decimate_invoke(), decimate_mode_items, decimate_poll_property(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::get_description, graph_slider_modal(), graphop_editable_keyframes_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::poll_property, RNA_def_enum(), RNA_def_float(), RNA_def_float_factor(), and wmOperatorType::srna.
Referenced by graphedit_operatortypes().
void GRAPH_OT_delete | ( | struct 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 | ( | struct 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 | ( | struct 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 | ( | struct 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 | ( | struct 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 | ( | struct 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 | ( | struct 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 | ( | struct 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 | ( | struct 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 | ( | struct 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 | ( | struct 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 | ( | struct 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 | ( | struct 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_ghost_curves_clear | ( | struct wmOperatorType * | ot | ) |
Definition at line 533 of file graph_view.c.
References wmOperatorType::description, ED_operator_graphedit_active(), wmOperatorType::exec, wmOperatorType::flag, graphkeys_clear_ghostcurves_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by graphedit_operatortypes().
void GRAPH_OT_ghost_curves_create | ( | struct wmOperatorType * | ot | ) |
Definition at line 483 of file graph_view.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_create_ghostcurves_exec(), graphop_visible_keyframes_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by graphedit_operatortypes().
void GRAPH_OT_handle_type | ( | struct 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 | ( | struct 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 | ( | struct 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 | ( | struct 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 | ( | struct 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_previewrange_set | ( | struct wmOperatorType * | ot | ) |
Definition at line 221 of file graph_view.c.
References wmOperatorType::description, ED_operator_graphedit_active(), wmOperatorType::exec, wmOperatorType::flag, graphkeys_previewrange_exec(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by graphedit_operatortypes().
void GRAPH_OT_sample | ( | struct 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_select_all | ( | struct wmOperatorType * | ot | ) |
Definition at line 457 of file graph_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_deselectall_exec(), graphop_visible_keyframes_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and WM_operator_properties_select_all().
Referenced by graphedit_operatortypes().
void GRAPH_OT_select_box | ( | struct wmOperatorType * | ot | ) |
Definition at line 880 of file graph_select.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_box_select_exec(), graphkeys_box_select_invoke(), graphop_visible_keyframes_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), wmOperatorType::srna, WM_gesture_box_cancel(), WM_gesture_box_modal(), WM_operator_properties_gesture_box(), and WM_operator_properties_select_operation_simple().
Referenced by graphedit_operatortypes().
void GRAPH_OT_select_circle | ( | struct wmOperatorType * | ot | ) |
Definition at line 1075 of file graph_select.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_select_circle_get_name(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::get_name, graph_circle_select_exec(), graphop_visible_keyframes_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), wmOperatorType::srna, WM_gesture_circle_cancel(), WM_gesture_circle_invoke(), WM_gesture_circle_modal(), WM_operator_properties_gesture_circle(), and WM_operator_properties_select_operation_simple().
Referenced by graphedit_operatortypes().
void GRAPH_OT_select_column | ( | struct wmOperatorType * | ot | ) |
Definition at line 1282 of file graph_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_columnselect_exec(), graphop_visible_keyframes_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_column_select_types, RNA_def_enum(), and wmOperatorType::srna.
Referenced by graphedit_operatortypes().
void GRAPH_OT_select_lasso | ( | struct wmOperatorType * | ot | ) |
Definition at line 986 of file graph_select.c.
References wmOperatorType::cancel, wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_lassoselect_exec(), graphop_visible_keyframes_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_DEPENDS_ON_CURSOR, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), wmOperatorType::srna, WM_gesture_lasso_cancel(), WM_gesture_lasso_invoke(), WM_gesture_lasso_modal(), WM_operator_properties_gesture_lasso(), and WM_operator_properties_select_operation_simple().
Referenced by graphedit_operatortypes().
void GRAPH_OT_select_leftright | ( | struct wmOperatorType * | ot | ) |
Definition at line 1620 of file graph_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, GRAPHKEYS_LRSEL_TEST, graphkeys_select_leftright_exec(), graphkeys_select_leftright_invoke(), graphop_visible_keyframes_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, prop_graphkeys_leftright_select_types, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_enum(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by graphedit_operatortypes().
void GRAPH_OT_select_less | ( | struct wmOperatorType * | ot | ) |
Definition at line 1465 of file graph_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_select_less_exec(), graphop_visible_keyframes_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by graphedit_operatortypes().
void GRAPH_OT_select_linked | ( | struct wmOperatorType * | ot | ) |
Definition at line 1346 of file graph_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_select_linked_exec(), graphop_visible_keyframes_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by graphedit_operatortypes().
void GRAPH_OT_select_more | ( | struct wmOperatorType * | ot | ) |
Definition at line 1430 of file graph_select.c.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, graphkeys_select_more_exec(), graphop_visible_keyframes_poll(), wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by graphedit_operatortypes().
void GRAPH_OT_smooth | ( | struct 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 | ( | struct 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 | ( | struct 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 | ( | struct 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 | ( | struct 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().
void GRAPH_OT_view_all | ( | struct wmOperatorType * | ot | ) |
Definition at line 301 of file graph_view.c.
References wmOperatorType::description, ED_operator_graphedit_active(), wmOperatorType::exec, wmOperatorType::flag, graphkeys_viewall_exec(), wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by graphedit_operatortypes().
void GRAPH_OT_view_frame | ( | struct wmOperatorType * | ot | ) |
Definition at line 360 of file graph_view.c.
References wmOperatorType::description, ED_operator_graphedit_active(), wmOperatorType::exec, wmOperatorType::flag, graphkeys_view_frame_exec(), wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by graphedit_operatortypes().
void GRAPH_OT_view_selected | ( | struct wmOperatorType * | ot | ) |
Definition at line 324 of file graph_view.c.
References wmOperatorType::description, ED_operator_graphedit_active(), wmOperatorType::exec, wmOperatorType::flag, graphkeys_view_selected_exec(), wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_boolean(), and wmOperatorType::srna.
Referenced by graphedit_operatortypes().
void graphedit_keymap | ( | struct 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().
Has active F-Curve in the context that's editable.
Definition at line 262 of file graph_utils.c.
References C, CTX_data_pointer_get_type(), PointerRNA::data, NULL, and ptr.
Referenced by GRAPH_OT_driver_variables_copy(), and GRAPH_OT_driver_variables_paste().
Has active F-Curve that's editable.
Definition at line 219 of file graph_utils.c.
References ANIM_animdata_get_context(), ANIMTYPE_FCURVE, ANIMTYPE_NLACURVE, blender::compositor::area(), C, CTX_wm_area(), bAnimListElem::data, ELEM, FCURVE_VISIBLE, FCurve::flag, get_active_fcurve_channel(), MEM_freeN, NULL, SPACE_GRAPH, and bAnimListElem::type.
Referenced by GRAPH_OT_click_insert(), GRAPH_OT_fmodifier_copy(), and GRAPH_OT_fmodifier_paste().
Check if there are any visible + editable keyframes (for editing tools).
Definition at line 163 of file graph_utils.c.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, blender::compositor::area(), FCurve::bezt, BKE_fcurve_is_keyframable(), C, CTX_wm_area(), CTX_wm_operator_poll_msg_set(), bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, ELEM, filter(), ListBase::first, FCurve::fpt, if(), bAnimListElem::next, NULL, SPACE_ACTION, and SPACE_GRAPH.
Referenced by GRAPH_OT_blend_to_default(), GRAPH_OT_blend_to_neighbor(), GRAPH_OT_breakdown(), GRAPH_OT_clean(), GRAPH_OT_copy(), GRAPH_OT_decimate(), GRAPH_OT_delete(), GRAPH_OT_duplicate(), GRAPH_OT_easing_type(), GRAPH_OT_equalize_handles(), GRAPH_OT_euler_filter(), GRAPH_OT_extrapolation_type(), GRAPH_OT_handle_type(), GRAPH_OT_interpolation_type(), GRAPH_OT_keyframe_insert(), GRAPH_OT_mirror(), GRAPH_OT_paste(), GRAPH_OT_sample(), GRAPH_OT_smooth(), and GRAPH_OT_snap().
Has selected F-Curve that's editable.
Definition at line 269 of file graph_utils.c.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_FOREDIT, ANIMFILTER_SEL, blender::compositor::area(), C, CTX_wm_area(), bAnimContext::data, bAnimContext::datatype, filter(), NULL, and SPACE_GRAPH.
Referenced by GRAPH_OT_bake(), GRAPH_OT_fmodifier_add(), GRAPH_OT_sound_bake(), and GRAPH_OT_unbake().
Check if there are any visible keyframes (for selection tools).
Definition at line 111 of file graph_utils.c.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_CURVE_VISIBLE, ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, blender::compositor::area(), FCurve::bezt, BKE_fcurve_are_keyframes_usable(), C, CTX_wm_area(), bAnimContext::data, bAnimListElem::data, bAnimContext::datatype, filter(), ListBase::first, if(), bAnimListElem::next, NULL, and SPACE_GRAPH.
Referenced by GRAPH_OT_clickselect(), GRAPH_OT_ghost_curves_create(), 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(), and graphkeys_framejump_poll().