|
Blender V4.5
|
#include <algorithm>#include <cmath>#include <cstdlib>#include "BLI_listbase.h"#include "BLI_math_base.h"#include "BLI_utildefines.h"#include "BLI_vector.hh"#include "DNA_scene_types.h"#include "BKE_anim_data.hh"#include "BKE_context.hh"#include "BKE_global.hh"#include "BKE_lib_id.hh"#include "BKE_lib_query.hh"#include "BKE_report.hh"#include "BKE_scene.hh"#include "BLT_translation.hh"#include "UI_resources.hh"#include "UI_view2d.hh"#include "RNA_access.hh"#include "RNA_define.hh"#include "WM_api.hh"#include "WM_types.hh"#include "ED_anim_api.hh"#include "ED_keyframes_keylist.hh"#include "ED_markers.hh"#include "ED_screen.hh"#include "ED_sequencer.hh"#include "ED_space_graph.hh"#include "ED_time_scrub_ui.hh"#include "DEG_depsgraph.hh"#include "DEG_depsgraph_build.hh"#include "SEQ_iterator.hh"#include "SEQ_retiming.hh"#include "SEQ_sequencer.hh"#include "SEQ_time.hh"#include "ANIM_action.hh"#include "ANIM_animdata.hh"#include "anim_intern.hh"Go to the source code of this file.
Classes | |
| class | FrameChangeModalData |
| struct | SnapTarget |
|
static |
Definition at line 423 of file anim_ops.cc.
References append_frame_snap_target(), append_keyframe_snap_target(), append_marker_snap_target(), append_second_snap_target(), CTX_data_scene(), SCE_SNAP_TO_FRAME, SCE_SNAP_TO_KEYS, SCE_SNAP_TO_MARKERS, SCE_SNAP_TO_SECOND, scene, ToolSettings::snap_playhead_mode, ToolSettings::snap_step_frames, ToolSettings::snap_step_seconds, and Scene::toolsettings.
Referenced by apply_frame_snap().
|
static |
Definition at line 827 of file anim_ops.cc.
References wmOperatorType::cancel, change_frame_cancel(), change_frame_exec(), change_frame_get_name(), change_frame_invoke(), change_frame_modal(), change_frame_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::get_name, wmOperatorType::idname, wmOperatorType::invoke, MAXFRAME, MINAFRAME, wmOperatorType::modal, wmOperatorType::name, OPTYPE_BLOCKING, OPTYPE_GRAB_CURSOR_X, OPTYPE_UNDO_GROUPED, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_float(), RNA_def_property_flag(), wmOperatorType::srna, and wmOperatorType::undo_group.
Referenced by ED_operatortypes_anim().
|
static |
Definition at line 1253 of file anim_ops.cc.
References convert_action_exec(), convert_action_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_anim().
|
static |
Definition at line 1138 of file anim_ops.cc.
References debug_channel_list_exec(), wmOperatorType::description, ED_operator_animview_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_anim().
|
static |
Definition at line 979 of file anim_ops.cc.
References anim_set_efra_exec(), anim_set_end_frames_poll(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_anim().
|
static |
Definition at line 1359 of file anim_ops.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, merge_actions_selection_exec(), merge_actions_selection_poll(), wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_anim().
|
static |
Definition at line 1087 of file anim_ops.cc.
References wmOperatorType::description, ED_operator_animview_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and previewrange_clear_exec().
Referenced by ED_operatortypes_anim().
|
static |
Definition at line 1032 of file anim_ops.cc.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_animview_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, previewrange_define_exec(), WM_gesture_box_cancel(), WM_gesture_box_invoke(), WM_gesture_box_modal(), and WM_operator_properties_border().
Referenced by ED_operatortypes_anim().
|
static |
Definition at line 1178 of file anim_ops.cc.
References wmOperatorType::description, ED_operator_animview_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, ot, wmOperatorType::poll, and scene_range_frame_exec().
Referenced by ED_operatortypes_anim().
|
static |
Definition at line 924 of file anim_ops.cc.
References anim_set_end_frames_poll(), anim_set_sfra_exec(), wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, and wmOperatorType::poll.
Referenced by ED_operatortypes_anim().
|
static |
Definition at line 939 of file anim_ops.cc.
References BKE_report(), RenderData::cfra, CLAMP, CTX_data_scene(), RenderData::efra, frame, MAXFRAME, MINFRAME, NC_SCENE, ND_FRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, RenderData::pefra, PRVRANGEON, PSFRA, RenderData::psfra, Scene::r, wmOperator::reports, RPT_WARNING, scene, RenderData::sfra, and WM_event_add_notifier().
Referenced by ANIM_OT_end_frame_set().
|
static |
Definition at line 862 of file anim_ops.cc.
References CTX_wm_area(), CTX_wm_operator_poll_msg_set(), ELEM, G, SPACE_ACTION, SPACE_CLIP, SPACE_GRAPH, SPACE_NLA, SPACE_SEQ, and ScrArea::spacetype.
Referenced by ANIM_OT_end_frame_set(), and ANIM_OT_start_frame_set().
|
static |
Definition at line 884 of file anim_ops.cc.
References BKE_report(), RenderData::cfra, CLAMP, CTX_data_scene(), RenderData::efra, frame, MAXFRAME, MINFRAME, NC_SCENE, ND_FRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, PEFRA, RenderData::pefra, PRVRANGEON, RenderData::psfra, Scene::r, wmOperator::reports, RPT_WARNING, scene, RenderData::sfra, and WM_event_add_notifier().
Referenced by ANIM_OT_start_frame_set().
|
static |
Definition at line 263 of file anim_ops.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), Scene::r, round, scene, RenderData::sfra, and step.
Referenced by action_get_snap_targets(), graph_get_snap_targets(), nla_get_snap_targets(), and seq_get_snap_targets().
|
static |
Definition at line 224 of file anim_ops.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), ActKeyColumn::cfra, ED_keylist_find_closest(), ensure_change_frame_keylist(), and FrameChangeModalData::keylist.
Referenced by action_get_snap_targets(), graph_get_snap_targets(), and seq_get_snap_targets().
|
static |
Definition at line 237 of file anim_ops.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BLI_listbase_is_empty(), ED_markers_find_nearest_marker_time(), Scene::markers, and scene.
Referenced by action_get_snap_targets(), graph_get_snap_targets(), nla_get_snap_targets(), and seq_get_snap_targets().
|
static |
Definition at line 310 of file anim_ops.cc.
References abs, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_FCURVESONLY, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, ANIMTYPE_NLATRACK, blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BLI_assert_unreachable, bAnimContext::data, bAnimContext::datatype, filter, FLT_MAX, LISTBASE_FOREACH, Strip::start, strip, and NlaTrack::strips.
Referenced by nla_get_snap_targets().
|
static |
Definition at line 251 of file anim_ops.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), BKE_scene_frame_snap_by_seconds(), Scene::r, scene, RenderData::sfra, and step.
Referenced by action_get_snap_targets(), graph_get_snap_targets(), nla_get_snap_targets(), and seq_get_snap_targets().
|
static |
Definition at line 285 of file anim_ops.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), FLT_MAX, scene, seq_frame_snap_update_best(), strip, blender::seq::time_left_handle_frame_get(), and blender::seq::time_right_handle_frame_get().
Referenced by seq_get_snap_targets().
|
static |
Definition at line 483 of file anim_ops.cc.
References abs, action_get_snap_targets(), CTX_data_scene(), CTX_wm_area(), CTX_wm_region(), FLT_MAX, frame, get_snap_threshold(), graph_get_snap_targets(), nla_get_snap_targets(), scene, seq_get_snap_targets(), SPACE_ACTION, SPACE_GRAPH, SPACE_NLA, SPACE_SEQ, ScrArea::spacetype, and Scene::toolsettings.
Referenced by change_frame_apply().
|
static |
Definition at line 544 of file anim_ops.cc.
References apply_frame_snap(), RenderData::cfra, CTX_data_scene(), wmOperator::customdata, DEG_id_tag_update(), RenderData::flag, frame, FRAMENUMBER_MIN_CLAMP, Scene::id, ID_RECALC_FRAME_CHANGE, NC_SCENE, ND_FRAME, wmOperator::ptr, Scene::r, RNA_boolean_get(), RNA_float_get(), round_fl_to_int(), scene, SCER_SHOW_SUBFRAME, RenderData::subframe, and WM_event_add_notifier().
Referenced by change_frame_exec(), change_frame_invoke(), and change_frame_modal().
|
static |
Definition at line 723 of file anim_ops.cc.
References change_frame_seq_preview_end(), CTX_data_scene(), CTX_wm_screen(), CTX_wm_space_seq(), NC_SCENE, ND_FRAME, need_extra_redraw_after_scrubbing_ends(), wmOperator::ptr, RNA_boolean_get(), scene, bScreen::scrubbing, and WM_event_add_notifier().
Referenced by ANIM_OT_change_frame().
|
static |
Definition at line 580 of file anim_ops.cc.
References change_frame_apply(), and OPERATOR_FINISHED.
Referenced by ANIM_OT_change_frame().
|
static |
Definition at line 818 of file anim_ops.cc.
References BLT_I18NCONTEXT_OPERATOR_DEFAULT, CTX_IFACE_, ptr, and RNA_boolean_get().
Referenced by ANIM_OT_change_frame().
|
static |
Definition at line 669 of file anim_ops.cc.
References change_frame_apply(), change_frame_seq_preview_begin(), CTX_wm_screen(), CTX_wm_space_seq(), wmOperator::customdata, frame_from_event(), OPERATOR_CANCELLED, OPERATOR_PASS_THROUGH, OPERATOR_RUNNING_MODAL, wmOperator::ptr, RNA_boolean_get(), RNA_boolean_set(), RNA_float_set(), bScreen::scrubbing, sequencer_skip_for_handle_tweak(), use_playhead_snapping(), and WM_event_add_modal_handler().
Referenced by ANIM_OT_change_frame().
|
static |
Definition at line 742 of file anim_ops.cc.
References change_frame_apply(), change_frame_seq_preview_end(), CTX_data_scene(), CTX_wm_screen(), CTX_wm_space_seq(), wmOperator::customdata, ED_workspace_status_text(), EVT_ESCKEY, EVT_LEFTCTRLKEY, EVT_RIGHTCTRLKEY, frame_from_event(), IFACE_, WorkspaceStatus::item(), KM_PRESS, KM_RELEASE, LEFTMOUSE, MIDDLEMOUSE, MOUSEMOVE, NC_SCENE, ND_FRAME, need_extra_redraw_after_scrubbing_ends(), OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, wmOperator::ptr, ret, RIGHTMOUSE, RNA_boolean_get(), RNA_boolean_set(), RNA_float_set(), scene, bScreen::scrubbing, wmEvent::type, use_playhead_snapping(), wmEvent::val, and WM_event_add_notifier().
Referenced by ANIM_OT_change_frame().
|
static |
Definition at line 97 of file anim_ops.cc.
References CTX_wm_area(), CTX_wm_operator_poll_msg_set(), CTX_wm_region(), ELEM, ListBase::first, G, SpaceGraph::mode, ARegion::regiontype, RGN_TYPE_WINDOW, SIPO_MODE_DRIVERS, SPACE_ACTION, SPACE_CLIP, SPACE_GRAPH, SPACE_NLA, SPACE_SEQ, ScrArea::spacedata, and ScrArea::spacetype.
Referenced by ANIM_OT_change_frame().
|
static |
Definition at line 607 of file anim_ops.cc.
References BLI_assert, blender::ed::vse::check_show_strip(), CTX_wm_region(), ED_time_scrub_event_in_region(), wmEvent::mval, and blender::ed::vse::special_preview_set().
Referenced by change_frame_invoke().
|
static |
Definition at line 616 of file anim_ops.cc.
References BLI_assert, blender::ed::vse::special_preview_clear(), blender::ed::vse::special_preview_get(), and UNUSED_VARS_NDEBUG.
Referenced by change_frame_cancel(), and change_frame_modal().
|
static |
Definition at line 1198 of file anim_ops.cc.
References AnimData::action, ANIM_id_update(), BKE_animdata_from_id(), BLI_assert, BLI_assert_msg, CTX_data_active_object(), CTX_data_main(), DEG_relations_tag_update(), Object::id, ID::name, NC_ANIMATION, ND_NLA_ACTCHANGE, OPERATOR_FINISHED, result, blender::animrig::Action::slot(), blender::animrig::Action::slot_identifier_set(), blender::animrig::Action::slots(), UNUSED_VARS_NDEBUG, and WM_main_add_notifier().
Referenced by ANIM_OT_convert_legacy_action().
|
static |
Definition at line 1232 of file anim_ops.cc.
References AnimData::action, BKE_animdata_from_id(), CTX_data_active_object(), CTX_wm_operator_poll_msg_set(), and Object::id.
Referenced by ANIM_OT_convert_legacy_action().
|
static |
Definition at line 1110 of file anim_ops.cc.
References ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIM_channel_debug_print_info(), ANIMFILTER_DATA_VISIBLE, ANIMFILTER_LIST_CHANNELS, ANIMFILTER_LIST_VISIBLE, bAnimContext::data, bAnimContext::datatype, filter, LISTBASE_FOREACH, OPERATOR_CANCELLED, OPERATOR_FINISHED, and printf.
Referenced by ANIM_OT_debug_channel_list().
| void ED_keymap_anim | ( | wmKeyConfig * | keyconf | ) |
Definition at line 1432 of file anim_ops.cc.
References RGN_TYPE_WINDOW, SPACE_EMPTY, and WM_keymap_ensure().
Referenced by ED_spacetypes_keymap().
| void ED_operatortypes_anim | ( | ) |
Definition at line 1379 of file anim_ops.cc.
References ANIM_OT_change_frame(), ANIM_OT_convert_legacy_action(), ANIM_OT_copy_driver_button(), ANIM_OT_debug_channel_list(), ANIM_OT_driver_button_add(), ANIM_OT_driver_button_edit(), ANIM_OT_driver_button_remove(), ANIM_OT_end_frame_set(), ANIM_OT_keyframe_clear_button(), ANIM_OT_keyframe_clear_v3d(), ANIM_OT_keyframe_delete(), ANIM_OT_keyframe_delete_button(), ANIM_OT_keyframe_delete_by_name(), ANIM_OT_keyframe_delete_v3d(), ANIM_OT_keyframe_insert(), ANIM_OT_keyframe_insert_button(), ANIM_OT_keyframe_insert_by_name(), ANIM_OT_keyframe_insert_menu(), ANIM_OT_keying_set_active_set(), ANIM_OT_keying_set_add(), ANIM_OT_keying_set_path_add(), ANIM_OT_keying_set_path_remove(), ANIM_OT_keying_set_remove(), ANIM_OT_keyingset_button_add(), ANIM_OT_keyingset_button_remove(), ANIM_OT_merge_animation(), ANIM_OT_paste_driver_button(), ANIM_OT_previewrange_clear(), ANIM_OT_previewrange_set(), ANIM_OT_scene_range_frame(), ANIM_OT_start_frame_set(), blender::ed::animrig::POSELIB_OT_asset_delete(), blender::ed::animrig::POSELIB_OT_asset_modify(), blender::ed::animrig::POSELIB_OT_create_pose_asset(), and WM_operatortype_append().
Referenced by ED_spacetypes_init().
|
static |
Definition at line 143 of file anim_ops.cc.
References blender::seq::active_seqbase_get(), ALE_FCURVE, ALE_GPFRAME, ALE_GREASE_PENCIL_CEL, ANIM_animdata_filter(), ANIM_animdata_freelist(), ANIM_animdata_get_context(), ANIMFILTER_DATA_VISIBLE, BLI_assert_unreachable, CTX_data_scene(), CTX_wm_area(), bAnimContext::data, bAnimContext::datatype, ED_keylist_create(), ED_keylist_prepare_for_direct_access(), blender::seq::editing_get(), fcurve_to_keylist(), filter, blender::ed::graph::get_editable_fcurves(), gpl_to_keylist(), grease_pencil_cels_to_keylist(), FrameChangeModalData::keylist, LISTBASE_FOREACH, scene, sequencer_strip_to_keylist(), SPACE_ACTION, SPACE_GRAPH, SPACE_SEQ, ScrArea::spacetype, and strip.
Referenced by append_keyframe_snap_target().
Definition at line 590 of file anim_ops.cc.
References CLAMP, CTX_data_scene(), CTX_wm_region(), RenderData::flag, frame, wmEvent::mval, PEFRA, PSFRA, Scene::r, scene, SCER_LOCK_FRAME_SELECTION, UI_view2d_region_to_view_x(), and ARegion::v2d.
Referenced by change_frame_invoke(), and change_frame_modal().
|
static |
Definition at line 136 of file anim_ops.cc.
References ToolSettings::playhead_snap_distance, UI_view2d_region_to_view_x(), and ARegion::v2d.
Referenced by apply_frame_snap().
|
static |
Definition at line 451 of file anim_ops.cc.
References append_frame_snap_target(), append_keyframe_snap_target(), append_marker_snap_target(), append_second_snap_target(), CTX_data_scene(), SCE_SNAP_TO_FRAME, SCE_SNAP_TO_KEYS, SCE_SNAP_TO_MARKERS, SCE_SNAP_TO_SECOND, scene, ToolSettings::snap_playhead_mode, ToolSettings::snap_step_frames, ToolSettings::snap_step_seconds, and Scene::toolsettings.
Referenced by apply_frame_snap().
|
static |
Definition at line 1286 of file anim_ops.cc.
References AnimData::action, Object::adt, ANIM_id_update(), BKE_animdata_ensure_id(), BKE_id_is_editable(), BKE_reportf(), BLI_assert, CTX_data_active_object(), CTX_data_main(), CTX_data_selected_objects(), DEG_id_tag_update_ex(), DEG_relations_tag_update(), bAction::id, ID_RECALC_ANIMATION_NO_FLUSH, blender::animrig::Action::is_action_legacy(), blender::animrig::move_slot(), ID::name, NC_ANIMATION, ND_NLA_ACTCHANGE, OPERATOR_CANCELLED, OPERATOR_FINISHED, PointerRNA::owner_id, ptr, wmOperator::reports, RPT_ERROR, RPT_INFO, RPT_WARNING, blender::animrig::Action::slot_for_handle(), AnimData::slot_handle, and WM_main_add_notifier().
Referenced by ANIM_OT_merge_animation().
|
static |
Definition at line 1268 of file anim_ops.cc.
References BKE_id_is_editable(), CTX_data_active_object(), CTX_data_main(), CTX_wm_operator_poll_msg_set(), blender::animrig::get_action(), bAction::id, and Object::id.
Referenced by ANIM_OT_merge_animation().
|
static |
Definition at line 709 of file anim_ops.cc.
References CTX_data_scene(), CTX_wm_space_seq(), Scene::eevee, scene, and SceneEEVEE::taa_samples.
Referenced by change_frame_cancel(), and change_frame_modal().
|
static |
Definition at line 397 of file anim_ops.cc.
References append_frame_snap_target(), append_marker_snap_target(), append_nla_strip_snap_target(), append_second_snap_target(), CTX_data_scene(), SCE_SNAP_TO_FRAME, SCE_SNAP_TO_MARKERS, SCE_SNAP_TO_SECOND, SCE_SNAP_TO_STRIPS, scene, ToolSettings::snap_playhead_mode, ToolSettings::snap_step_frames, ToolSettings::snap_step_seconds, and Scene::toolsettings.
Referenced by apply_frame_snap().
|
static |
Definition at line 1064 of file anim_ops.cc.
References CTX_data_scene(), CTX_wm_area(), ED_area_tag_redraw(), ELEM, RenderData::flag, NC_SCENE, ND_FRAME, OPERATOR_CANCELLED, OPERATOR_FINISHED, RenderData::pefra, RenderData::psfra, Scene::r, scene, and WM_event_add_notifier().
Referenced by ANIM_OT_previewrange_clear().
|
static |
Definition at line 1000 of file anim_ops.cc.
References CTX_data_scene(), CTX_wm_region(), RenderData::flag, FRAMENUMBER_MIN_CLAMP, NC_SCENE, ND_FRAME, OPERATOR_FINISHED, RenderData::pefra, RenderData::psfra, Scene::r, round_fl_to_int(), scene, SCER_PRV_RANGE, UI_view2d_region_to_view_x(), ARegion::v2d, WM_event_add_notifier(), WM_operator_properties_border_to_rcti(), rcti::xmax, and rcti::xmin.
Referenced by ANIM_OT_previewrange_set().
|
static |
Definition at line 1159 of file anim_ops.cc.
References ANIM_frame_range_view2d_add_xmargin(), BLI_assert, CTX_data_scene(), CTX_wm_area(), CTX_wm_region(), CTX_wm_screen(), View2D::cur, ED_area_tag_redraw(), OPERATOR_FINISHED, PEFRA, PSFRA, scene, UI_view2d_sync(), ARegion::v2d, V2D_LOCK_COPY, rctf::xmax, and rctf::xmin.
Referenced by ANIM_OT_scene_range_frame().
|
static |
Definition at line 274 of file anim_ops.cc.
References abs.
Referenced by append_sequencer_strip_snap_target().
|
static |
Definition at line 354 of file anim_ops.cc.
References blender::seq::active_seqbase_get(), append_frame_snap_target(), append_keyframe_snap_target(), append_marker_snap_target(), append_second_snap_target(), append_sequencer_strip_snap_target(), CTX_data_scene(), blender::seq::editing_get(), blender::seq::query_all_strips(), SCE_SNAP_TO_FRAME, SCE_SNAP_TO_KEYS, SCE_SNAP_TO_MARKERS, SCE_SNAP_TO_SECOND, SCE_SNAP_TO_STRIPS, scene, ToolSettings::snap_playhead_mode, ToolSettings::snap_step_frames, ToolSettings::snap_step_seconds, and Scene::toolsettings.
Referenced by apply_frame_snap().
Definition at line 646 of file anim_ops.cc.
References CTX_data_scene(), blender::seq::editing_get(), blender::ed::vse::StripSelection::handle, wmEvent::mval, blender::ed::vse::pick_strip_and_handle(), scene, blender::ed::vse::STRIP_HANDLE_NONE, UI_view2d_fromcontext(), UI_view2d_region_to_view(), and USER_SEQ_ED_SIMPLE_TWEAKING.
Referenced by change_frame_invoke().
|
static |
Definition at line 625 of file anim_ops.cc.
References CTX_data_scene(), CTX_wm_area(), ListBase::first, SpaceGraph::mode, SCE_SNAP, scene, SIPO_MODE_DRIVERS, ToolSettings::snap_flag_playhead, SPACE_GRAPH, ScrArea::spacedata, ScrArea::spacetype, and Scene::toolsettings.
Referenced by change_frame_invoke(), and change_frame_modal().