|
Blender V4.3
|
#include "MEM_guardedalloc.h"#include "BLI_fileops.h"#include "BLI_math_vector.h"#include "BLI_path_utils.hh"#include "BLI_string.h"#include "BLI_timecode.h"#include "BLI_utildefines.h"#include "BLT_translation.hh"#include "DNA_anim_types.h"#include "DNA_scene_types.h"#include "DNA_sound_types.h"#include "BKE_context.hh"#include "BKE_global.hh"#include "BKE_main.hh"#include "BKE_report.hh"#include "BKE_sound.h"#include "SEQ_add.hh"#include "SEQ_animation.hh"#include "SEQ_channels.hh"#include "SEQ_connect.hh"#include "SEQ_edit.hh"#include "SEQ_effects.hh"#include "SEQ_iterator.hh"#include "SEQ_prefetch.hh"#include "SEQ_relations.hh"#include "SEQ_render.hh"#include "SEQ_select.hh"#include "SEQ_sequencer.hh"#include "SEQ_thumbnail_cache.hh"#include "SEQ_time.hh"#include "SEQ_transform.hh"#include "SEQ_utils.hh"#include "ANIM_action_legacy.hh"#include "WM_api.hh"#include "WM_types.hh"#include "RNA_define.hh"#include "RNA_enum_types.hh"#include "RNA_prototypes.hh"#include "ED_fileselect.hh"#include "ED_numinput.hh"#include "ED_scene.hh"#include "ED_screen.hh"#include "ED_sequencer.hh"#include "UI_interface.hh"#include "UI_resources.hh"#include "UI_view2d.hh"#include "DEG_depsgraph.hh"#include "DEG_depsgraph_build.hh"#include "sequencer_intern.hh"Go to the source code of this file.
Classes | |
| struct | SlipData |
| struct | Seq_get_text_cb_data |
Clear Strip Transform Operator | |
| enum | { STRIP_TRANSFORM_POSITION , STRIP_TRANSFORM_SCALE , STRIP_TRANSFORM_ROTATION , STRIP_TRANSFORM_ALL } |
| static const EnumPropertyItem | transform_reset_properties [] |
| static int | sequencer_strip_transform_clear_exec (bContext *C, wmOperator *op) |
| void | SEQUENCER_OT_strip_transform_clear (wmOperatorType *ot) |
Split Strips Operator | |
| static const EnumPropertyItem | prop_split_types [] |
| const EnumPropertyItem | prop_side_types [] |
| static int | mouse_frame_side (View2D *v2d, short mouse_x, int frame) |
| static int | sequence_split_side_for_exec_get (wmOperator *op) |
| static int | sequencer_split_exec (bContext *C, wmOperator *op) |
| static int | sequencer_split_invoke (bContext *C, wmOperator *op, const wmEvent *event) |
| static void | sequencer_split_ui (bContext *, wmOperator *op) |
| void | SEQUENCER_OT_split (wmOperatorType *ot) |
Swap Strip Operator | |
| static const EnumPropertyItem | prop_side_lr_types [] |
| static void | swap_sequence (Scene *scene, Sequence *seqa, Sequence *seqb) |
| static Sequence * | find_next_prev_sequence (Scene *scene, Sequence *test, int lr, int sel) |
| static bool | seq_is_parent (const Sequence *par, const Sequence *seq) |
| static int | sequencer_swap_exec (bContext *C, wmOperator *op) |
| void | SEQUENCER_OT_swap (wmOperatorType *ot) |
Change Effect Type Operator | |
| const EnumPropertyItem | sequencer_prop_effect_types [] |
| static int | sequencer_change_effect_type_exec (bContext *C, wmOperator *op) |
| void | SEQUENCER_OT_change_effect_type (wmOperatorType *ot) |
Transform Set Fit Operator | |
| static const EnumPropertyItem | scale_fit_methods [] |
| static int | sequencer_strip_transform_fit_exec (bContext *C, wmOperator *op) |
| void | SEQUENCER_OT_strip_transform_fit (wmOperatorType *ot) |
| static int | sequencer_strip_color_tag_set_exec (bContext *C, wmOperator *op) |
| static bool | sequencer_strip_color_tag_set_poll (bContext *C) |
| void | SEQUENCER_OT_strip_color_tag_set (wmOperatorType *ot) |
| anonymous enum |
| Enumerator | |
|---|---|
| STRIP_TRANSFORM_POSITION | |
| STRIP_TRANSFORM_SCALE | |
| STRIP_TRANSFORM_ROTATION | |
| STRIP_TRANSFORM_ALL | |
Definition at line 3217 of file sequencer_edit.cc.
| bool ED_sequencer_deselect_all | ( | Scene * | scene | ) |
Iterates over a scene's sequences and deselects all of them.
| scene | scene containing sequences to be deselected. |
Definition at line 2513 of file sequencer_edit.cc.
References LISTBASE_FOREACH, SEQ_active_seqbase_get(), SEQ_ALLSEL, and SEQ_editing_get().
Referenced by ED_sequencer_select_sequence_single(), freeze_frame_add_new_for_seq(), sequencer_add_duplicate_exec(), sequencer_add_effect_strip_exec(), sequencer_add_image_strip_exec(), sequencer_add_mask_strip_exec(), sequencer_add_movie_strip_exec(), sequencer_add_movieclip_strip_exec(), sequencer_add_scene_strip_exec(), sequencer_add_scene_strip_new_exec(), sequencer_add_sound_strip_exec(), sequencer_box_select_exec(), sequencer_clipboard_paste_exec(), sequencer_select_exec(), sequencer_select_handle_exec(), sequencer_select_linked_pick_invoke(), sequencer_select_side_of_frame_exec(), transition_add_new_for_seq(), and blender::ed::outliner::tree_element_sequence_activate().
| bool ED_space_sequencer_check_show_imbuf | ( | SpaceSeq * | sseq | ) |
Are we displaying the seq output (not channels or histogram).
Definition at line 103 of file sequencer_edit.cc.
References ELEM, SpaceSeq::mainb, SEQ_DRAW_IMG_IMBUF, SEQ_VIEW_PREVIEW, SEQ_VIEW_SEQUENCE_PREVIEW, and SpaceSeq::view.
Referenced by metadata_panel_context_poll(), and sequencer_draw_preview().
Definition at line 82 of file sequencer_edit.cc.
References SpaceSeq::mainb, SEQ_active_mask_get(), and SEQ_DRAW_IMG_IMBUF.
Referenced by ED_space_sequencer_maskedit_poll().
| bool ED_space_sequencer_check_show_strip | ( | SpaceSeq * | sseq | ) |
Definition at line 109 of file sequencer_edit.cc.
References ELEM, SEQ_VIEW_SEQUENCE, SEQ_VIEW_SEQUENCE_PREVIEW, and SpaceSeq::view.
Referenced by change_frame_seq_preview_begin(), and sequencer_view_strips_poll().
Check if there is animation shown during playback.
Definition at line 127 of file sequencer_edit.cc.
References SpaceSeq::draw_flag, blender::animrig::legacy::fcurves_for_assigned_action(), SEQ_DRAW_BACKDROP, and sequencer_fcurves_targets_color_strip().
Referenced by screen_animation_region_tag_redraw().
| bool ED_space_sequencer_maskedit_mask_poll | ( | bContext * | C | ) |
Definition at line 77 of file sequencer_edit.cc.
References ED_space_sequencer_maskedit_poll().
Referenced by ED_maskedit_mask_poll(), and ED_maskedit_mask_visible_splines_poll().
| bool ED_space_sequencer_maskedit_poll | ( | bContext * | C | ) |
Definition at line 91 of file sequencer_edit.cc.
References CTX_data_scene(), CTX_wm_space_seq(), and ED_space_sequencer_check_show_maskedit().
Referenced by ED_maskedit_poll(), ED_maskedit_visible_splines_poll(), and ED_space_sequencer_maskedit_mask_poll().
|
static |
Definition at line 2285 of file sequencer_edit.cc.
References ListBase::first, Sequence::flag, Sequence::machine, MAXFRAME, Sequence::next, SELECT, SEQ_editing_get(), SEQ_SIDE_LEFT, SEQ_SIDE_RIGHT, SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), and Editing::seqbasep.
Referenced by sequencer_swap_exec().
|
static |
Definition at line 648 of file sequencer_edit.cc.
References applyNumInput(), NC_SCENE, ND_SEQUENCER, wmOperator::ptr, RNA_float_set(), round_fl_to_int(), sequencer_slip_apply_limits(), sequencer_slip_strips(), sequencer_slip_update_header(), and WM_event_add_notifier().
Referenced by sequencer_slip_modal().
Definition at line 1397 of file sequencer_edit.cc.
References SEQ_SIDE_LEFT, SEQ_SIDE_RIGHT, and UI_view2d_region_to_view().
Referenced by sequencer_split_invoke().
|
static |
Comparison function suitable to be used with BLI_listbase_sort().
Definition at line 2981 of file sequencer_edit.cc.
References b, Sequence::machine, and SEQ_time_left_handle_frame_get().
Referenced by sequencer_export_subtitles_exec().
| int seq_effect_find_selected | ( | Scene * | scene, |
| Sequence * | activeseq, | ||
| int | type, | ||
| Sequence ** | r_selseq1, | ||
| Sequence ** | r_selseq2, | ||
| const char ** | r_error_str ) |
Definition at line 1200 of file sequencer_edit.cc.
References ATTR_FALLTHROUGH, ELEM, LISTBASE_FOREACH, N_, SELECT, SEQ_editing_get(), SEQ_effect_get_num_inputs(), SEQ_select_active_get(), SEQ_TYPE_SOUND_RAM, and Editing::seqbasep.
Referenced by sequencer_add_effect_strip_exec(), and sequencer_reassign_inputs_exec().
|
static |
Definition at line 3014 of file sequencer_edit.cc.
References BLI_addtail(), MEM_dupallocN, Scene::r, Seq_get_text_cb_data::scene, SEQ_channels_displayed_get(), SEQ_editing_get(), SEQ_render_is_muted(), SEQ_time_right_handle_frame_get(), SEQ_TYPE_TEXT, RenderData::sfra, Seq_get_text_cb_data::text_seq, and Sequence::type.
Referenced by sequencer_export_subtitles_exec().
Definition at line 2338 of file sequencer_edit.cc.
References Sequence::seq1, and Sequence::seq2.
Referenced by sequencer_swap_exec().
|
static |
Definition at line 1427 of file sequencer_edit.cc.
References wmOperator::ptr, RNA_enum_get(), SEQ_SIDE_MOUSE, and SEQ_SIDE_RIGHT.
Referenced by sequencer_split_exec().
|
static |
Definition at line 1656 of file sequencer_edit.cc.
References BLI_movelisttolist(), CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), DEG_relations_tag_update(), ED_sequencer_deselect_all(), ListBase::first, Sequence::flag, ID_RECALC_SEQUENCER_STRIPS, Sequence::name, NC_SCENE, ND_SEQUENCER, Sequence::next, OPERATOR_CANCELLED, OPERATOR_FINISHED, SEQ_animation_backup_original(), SEQ_animation_duplicate_backup_to_scene(), SEQ_animation_restore_original(), SEQ_editing_get(), SEQ_ensure_unique_name(), SEQ_IGNORE_CHANNEL_LOCK, SEQ_LEFTSEL, SEQ_LOCK, SEQ_RIGHTSEL, SEQ_select_active_get(), SEQ_select_active_set(), SEQ_sequence_base_dupli_recursive(), Editing::seqbasep, STREQ, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_duplicate().
|
static |
Definition at line 2625 of file sequencer_edit.cc.
References BKE_report(), CTX_data_scene(), NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, Sequence::seq1, Sequence::seq2, SEQ_relations_invalidate_cache_preprocessed(), SEQ_select_active_get(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_change_effect_input().
|
static |
Definition at line 2687 of file sequencer_edit.cc.
References BKE_report(), CTX_data_scene(), SeqEffectHandle::free, SeqEffectHandle::init, NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, SEQ_effect_get_num_inputs(), SEQ_effect_handle_get(), SEQ_relations_invalidate_cache_preprocessed(), SEQ_select_active_get(), SEQ_TYPE_EFFECT, Sequence::type, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_change_effect_type().
|
static |
Definition at line 2749 of file sequencer_edit.cc.
References Sequence::anim_endofs, Sequence::anim_startofs, BKE_main_blendfile_path(), BKE_sound_load(), BLI_path_rel(), CTX_data_main(), CTX_data_scene(), Strip::dirpath, FILE_MAX, StripElem::filename, bSound::filepath, Sequence::flag, len, MEM_freeN(), NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_BEGIN, RNA_boolean_get(), RNA_END, RNA_pointer_create(), RNA_property_collection_length(), RNA_property_string_set(), RNA_property_update(), RNA_string_get(), RNA_string_get_alloc(), RNA_struct_find_property(), SEQ_add_reload_new_file(), SEQ_relations_invalidate_cache_raw(), SEQ_relations_sequence_free_anim(), SEQ_select_active_get(), SEQ_SINGLE_FRAME_CONTENT, SEQ_TYPE_IMAGE, SEQ_TYPE_SOUND_RAM, sequencer_image_seq_get_minmax_frame(), sequencer_image_seq_reserve_frames(), Sequence::sfra, Sequence::sound, Sequence::strip, Strip::stripdata, STRNCPY, Sequence::type, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_change_path().
|
static |
Definition at line 2845 of file sequencer_edit.cc.
References BLI_path_join, CTX_data_scene(), Strip::dirpath, FILE_MAX, StripElem::filename, OPERATOR_RUNNING_MODAL, wmOperator::ptr, RNA_boolean_set(), RNA_string_set(), SEQ_select_active_get(), SEQ_TYPE_IMAGE, Sequence::strip, Strip::stripdata, Sequence::type, and WM_event_add_fileselect().
Referenced by SEQUENCER_OT_change_path().
|
static |
Definition at line 2913 of file sequencer_edit.cc.
References BKE_report(), BLI_findlink(), CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), DEG_relations_tag_update(), ID_RECALC_AUDIO, ID_RECALC_SEQUENCER_STRIPS, NC_SCENE, ND_SCENEBROWSE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_enum_get(), RPT_ERROR, Sequence::scene, Main::scenes, SEQ_relations_invalidate_cache_raw(), SEQ_select_active_get(), and WM_event_add_notifier().
Referenced by sequencer_change_scene_invoke(), and SEQUENCER_OT_change_scene().
|
static |
Definition at line 2941 of file sequencer_edit.cc.
References wmOperator::ptr, RNA_struct_property_is_set(), sequencer_change_scene_exec(), and WM_enum_search_invoke().
Referenced by SEQUENCER_OT_change_scene().
|
static |
Definition at line 1026 of file sequencer_edit.cc.
References CTX_data_scene(), NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), SEQ_active_seqbase_get(), SEQ_are_strips_connected_together(), SEQ_connect(), SEQ_disconnect(), SEQ_editing_get(), SEQ_query_selected_strips(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_connect().
|
static |
Definition at line 1745 of file sequencer_edit.cc.
References CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), DEG_relations_tag_update(), ED_sequencer_selected_strips_from_context(), ID_RECALC_SEQUENCER_STRIPS, NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), SEQ_active_seqbase_get(), SEQ_edit_flag_for_removal(), SEQ_edit_remove_flagged_sequences(), SEQ_editing_get(), SEQ_prefetch_stop(), sequencer_delete_strip_data(), sequencer_view_has_preview_poll(), sequencer_view_preview_only_poll(), and WM_event_add_notifier().
Referenced by sequencer_delete_invoke(), and SEQUENCER_OT_delete().
|
static |
Definition at line 1772 of file sequencer_edit.cc.
References BLI_listbase_is_empty(), CTX_data_scene(), CTX_wm_region(), markers, wmEvent::mval, OPERATOR_PASS_THROUGH, RGN_TYPE_WINDOW, and sequencer_delete_exec().
Referenced by SEQUENCER_OT_delete().
Definition at line 1731 of file sequencer_edit.cc.
References CTX_data_main(), ED_scene_delete(), NA_REMOVED, NC_SCENE, Sequence::scene, SEQ_TYPE_SCENE, Sequence::type, and WM_event_add_notifier().
Referenced by sequencer_delete_exec().
|
static |
Definition at line 1070 of file sequencer_edit.cc.
References CTX_data_scene(), NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, SEQ_active_seqbase_get(), SEQ_disconnect(), SEQ_editing_get(), SEQ_query_selected_strips(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_disconnect().
| bool sequencer_edit_poll | ( | bContext * | C | ) |
Definition at line 155 of file sequencer_edit.cc.
References CTX_data_scene(), and SEQ_editing_get().
Referenced by sequencer_edit_with_channel_region_poll(), sequencer_editing_initialized_and_active(), SEQUENCER_OT_connect(), SEQUENCER_OT_copy(), SEQUENCER_OT_delete(), SEQUENCER_OT_disconnect(), SEQUENCER_OT_gap_insert(), SEQUENCER_OT_gap_remove(), SEQUENCER_OT_images_separate(), SEQUENCER_OT_lock(), SEQUENCER_OT_meta_make(), SEQUENCER_OT_meta_separate(), SEQUENCER_OT_meta_toggle(), SEQUENCER_OT_mute(), SEQUENCER_OT_offset_clear(), SEQUENCER_OT_reload(), SEQUENCER_OT_rendersize(), SEQUENCER_OT_select_all(), SEQUENCER_OT_select_grouped(), SEQUENCER_OT_select_handles(), SEQUENCER_OT_select_inverse(), SEQUENCER_OT_select_less(), SEQUENCER_OT_select_linked(), SEQUENCER_OT_select_more(), SEQUENCER_OT_select_side(), SEQUENCER_OT_set_range_to_strips(), SEQUENCER_OT_slip(), SEQUENCER_OT_snap(), SEQUENCER_OT_split(), SEQUENCER_OT_strip_transform_clear(), SEQUENCER_OT_strip_transform_fit(), SEQUENCER_OT_swap(), SEQUENCER_OT_unlock(), SEQUENCER_OT_unmute(), sequencer_refresh_all_poll(), and sequencer_strip_jump_poll().
| bool sequencer_edit_with_channel_region_poll | ( | bContext * | C | ) |
Definition at line 160 of file sequencer_edit.cc.
References CTX_wm_region(), RGN_TYPE_CHANNELS, and sequencer_edit_poll().
Referenced by SEQUENCER_OT_rename_channel().
| bool sequencer_editing_initialized_and_active | ( | bContext * | C | ) |
Definition at line 172 of file sequencer_edit.cc.
References ED_operator_sequencer_active(), and sequencer_edit_poll().
Referenced by SEQUENCER_OT_retiming_show(), and SEQUENCER_OT_view_selected().
|
static |
Definition at line 1320 of file sequencer_edit.cc.
References CTX_data_scene(), SEQ_editing_get(), SEQ_select_active_get(), SEQ_TYPE_EFFECT, and Sequence::type.
Referenced by SEQUENCER_OT_change_effect_input(), SEQUENCER_OT_change_effect_type(), SEQUENCER_OT_reassign_inputs(), and SEQUENCER_OT_swap_inputs().
|
static |
Definition at line 3028 of file sequencer_edit.cc.
References BKE_report(), BLI_exists(), BLI_file_ensure_parent_dir_exists(), BLI_file_is_writable(), BLI_file_touch(), BLI_fopen(), BLI_listbase_is_empty(), BLI_listbase_sort_r(), BLI_path_extension_ensure(), BLI_timecode_string_from_time(), CTX_data_scene(), Sequence::effectdata, file, FILE_MAX, ListBase::first, FPS, FRA2TIME, max_ii(), MEM_freeN(), Sequence::next, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_string_get(), RNA_struct_property_is_set_ex(), RPT_ERROR, seq_cmp_time_startdisp_channel(), SEQ_editing_get(), SEQ_for_each_callback(), seq_get_text_strip_cb(), SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), Editing::seqbase, and USER_TIMECODE_SUBRIP.
Referenced by SEQUENCER_OT_export_subtitles().
|
static |
Definition at line 2998 of file sequencer_edit.cc.
References ED_fileselect_ensure_default_filepath(), OPERATOR_RUNNING_MODAL, and WM_event_add_fileselect().
Referenced by SEQUENCER_OT_export_subtitles().
|
static |
Definition at line 114 of file sequencer_edit.cc.
References BLI_str_endswith(), BLI_str_startswith(), and FCurve::rna_path.
Referenced by ED_space_sequencer_has_playback_animation().
|
static |
Definition at line 307 of file sequencer_edit.cc.
References CTX_data_scene(), NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, wmOperator::ptr, RNA_int_get(), SEQ_editing_get(), SEQ_transform_offset_after_frame(), Editing::seqbasep, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_gap_insert().
|
static |
Definition at line 267 of file sequencer_edit.cc.
References CTX_data_scene(), DEG_id_tag_update(), ID_RECALC_SEQUENCER_STRIPS, NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), SEQ_edit_remove_gaps(), SEQ_editing_get(), Editing::seqbasep, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_gap_remove().
|
static |
Definition at line 952 of file sequencer_edit.cc.
References CTX_data_scene(), LISTBASE_FOREACH, NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, SELECT, SEQ_editing_get(), SEQ_LOCK, Editing::seqbasep, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_lock().
|
static |
Definition at line 2044 of file sequencer_edit.cc.
References blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add_multiple(), BKE_report(), BLI_addtail(), BLI_remlink(), BLI_strncpy(), Sequence::channels, CTX_data_scene(), DATA_, DEG_id_tag_update(), SeqTimelineChannel::flag, Sequence::flag, ID_RECALC_SEQUENCER_STRIPS, Sequence::len, LISTBASE_FOREACH, Sequence::machine, max_ii(), MAXFRAME, min_ii(), MINFRAME, SeqTimelineChannel::name, Sequence::name, NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, SELECT, SEQ_active_seqbase_get(), SEQ_channel_get_by_index(), SEQ_channels_displayed_get(), SEQ_editing_get(), SEQ_get_connected_strips(), SEQ_prefetch_stop(), SEQ_relations_invalidate_cache_preprocessed(), SEQ_select_active_get(), SEQ_select_active_set(), SEQ_sequence_alloc(), SEQ_sequence_base_unique_name_recursive(), SEQ_sequence_lookup_invalidate(), SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), SEQ_transform_seqbase_isolated_sel_check(), SEQ_transform_seqbase_shuffle(), SEQ_transform_test_overlap(), SEQ_TYPE_META, Editing::seqbase, Sequence::seqbase, Sequence::start, STRNCPY, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_meta_make().
|
static |
Definition at line 2129 of file sequencer_edit.cc.
References BLI_listbase_clear(), BLI_movelisttolist(), CTX_data_scene(), DEG_id_tag_update(), ID_RECALC_SEQUENCER_STRIPS, LISTBASE_FOREACH, NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, SELECT, SEQ_active_seqbase_get(), SEQ_edit_flag_for_removal(), SEQ_edit_remove_flagged_sequences(), SEQ_editing_get(), SEQ_prefetch_stop(), SEQ_relations_invalidate_cache_preprocessed(), SEQ_select_active_get(), SEQ_transform_seqbase_shuffle(), SEQ_transform_test_overlap(), SEQ_TYPE_META, Sequence::seqbase, Editing::seqbasep, Sequence::type, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_meta_separate().
|
static |
Definition at line 1993 of file sequencer_edit.cc.
References BLI_listbase_is_empty(), CTX_data_scene(), DEG_id_tag_update(), Sequence::flag, ID_RECALC_SEQUENCER_STRIPS, Editing::metastack, NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, SELECT, SEQ_editing_get(), SEQ_meta_stack_pop(), SEQ_meta_stack_set(), SEQ_prefetch_stop(), SEQ_select_active_get(), SEQ_select_active_set(), SEQ_TYPE_META, Sequence::type, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_meta_toggle().
|
static |
Definition at line 836 of file sequencer_edit.cc.
References CTX_data_scene(), DEG_id_tag_update(), ID_RECALC_SEQUENCER_STRIPS, LISTBASE_FOREACH, NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), SELECT, SEQ_channels_displayed_get(), SEQ_editing_get(), SEQ_MUTE, SEQ_relations_invalidate_dependent(), SEQ_transform_is_locked(), Editing::seqbasep, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_mute().
|
static |
Definition at line 1822 of file sequencer_edit.cc.
References CTX_data_scene(), Sequence::endofs, ListBase::first, Sequence::flag, NC_SCENE, ND_SEQUENCER, Sequence::next, OPERATOR_FINISHED, SELECT, SEQ_channels_displayed_get(), SEQ_editing_get(), SEQ_relations_invalidate_cache_preprocessed(), SEQ_transform_is_locked(), SEQ_transform_seqbase_shuffle(), SEQ_transform_test_overlap(), SEQ_TYPE_EFFECT, Editing::seqbasep, Sequence::startofs, Sequence::type, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_offset_clear().
| void SEQUENCER_OT_change_effect_input | ( | wmOperatorType * | ot | ) |
Definition at line 2645 of file sequencer_edit.cc.
References wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, sequencer_change_effect_input_exec(), and sequencer_effect_poll().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_change_effect_type | ( | wmOperatorType * | ot | ) |
Definition at line 2721 of file sequencer_edit.cc.
References BLT_I18NCONTEXT_ID_SEQUENCE, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), RNA_def_property_translation_context(), SEQ_TYPE_CROSS, sequencer_change_effect_type_exec(), sequencer_effect_poll(), sequencer_prop_effect_types, and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_change_path | ( | wmOperatorType * | ot | ) |
Definition at line 2869 of file sequencer_edit.cc.
References wmOperatorType::exec, FILE_DEFAULTDISPLAY, FILE_OPENFILE, FILE_SORT_DEFAULT, FILE_SPECIAL, FILE_TYPE_FOLDER, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), sequencer_change_path_exec(), sequencer_change_path_invoke(), sequencer_strip_has_path_poll(), wmOperatorType::srna, WM_FILESEL_DIRECTORY, WM_FILESEL_FILEPATH, WM_FILESEL_FILES, WM_FILESEL_RELPATH, and WM_operator_properties_filesel().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_change_scene | ( | wmOperatorType * | ot | ) |
Definition at line 2950 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_ENUM_NO_TRANSLATE, RNA_def_enum(), RNA_def_enum_funcs(), RNA_def_property_flag(), rna_enum_dummy_NULL_items, RNA_scene_without_active_itemf(), sequencer_change_scene_exec(), sequencer_change_scene_invoke(), sequencer_strip_change_scene_poll(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_connect | ( | wmOperatorType * | ot | ) |
Definition at line 1050 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), sequencer_connect_exec(), sequencer_edit_poll(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_copy | ( | wmOperatorType * | ot | ) |
Definition at line 2492 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, ot, wmOperatorType::poll, sequencer_clipboard_copy_exec(), and sequencer_edit_poll().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_cursor_set | ( | wmOperatorType * | ot | ) |
Definition at line 3438 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float_vector(), sequencer_set_2d_cursor_exec(), sequencer_set_2d_cursor_invoke(), sequencer_view_has_preview_poll(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_delete | ( | wmOperatorType * | ot | ) |
Definition at line 1791 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), sequencer_delete_exec(), sequencer_delete_invoke(), sequencer_edit_poll(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_disconnect | ( | wmOperatorType * | ot | ) |
Definition at line 1087 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, sequencer_disconnect_exec(), and sequencer_edit_poll().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_duplicate | ( | wmOperatorType * | ot | ) |
Definition at line 1710 of file sequencer_edit.cc.
References wmOperatorType::description, ED_operator_sequencer_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and sequencer_add_duplicate_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_export_subtitles | ( | wmOperatorType * | ot | ) |
Definition at line 3115 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, FILE_BLENDER, FILE_DEFAULTDISPLAY, FILE_SAVE, FILE_SORT_DEFAULT, FILE_TYPE_FOLDER, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, sequencer_export_subtitles_exec(), sequencer_export_subtitles_invoke(), sequencer_strip_is_text_poll(), WM_FILESEL_FILEPATH, and WM_operator_properties_filesel().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_gap_insert | ( | wmOperatorType * | ot | ) |
Definition at line 319 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_int(), sequencer_edit_poll(), sequencer_gap_insert_exec(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_gap_remove | ( | wmOperatorType * | ot | ) |
Definition at line 281 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), sequencer_edit_poll(), sequencer_gap_remove_exec(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_images_separate | ( | wmOperatorType * | ot | ) |
Definition at line 1969 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_int(), sequencer_edit_poll(), sequencer_separate_images_exec(), sequencer_separate_images_invoke(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_lock | ( | wmOperatorType * | ot | ) |
Definition at line 968 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, sequencer_edit_poll(), and sequencer_lock_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_meta_make | ( | wmOperatorType * | ot | ) |
Definition at line 2108 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, sequencer_edit_poll(), and sequencer_meta_make_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_meta_separate | ( | wmOperatorType * | ot | ) |
Definition at line 2170 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, sequencer_edit_poll(), and sequencer_meta_separate_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_meta_toggle | ( | wmOperatorType * | ot | ) |
Definition at line 2023 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, sequencer_edit_poll(), and sequencer_meta_toggle_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_mute | ( | wmOperatorType * | ot | ) |
Definition at line 869 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), sequencer_edit_poll(), sequencer_mute_exec(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_offset_clear | ( | wmOperatorType * | ot | ) |
Definition at line 1864 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, sequencer_edit_poll(), and sequencer_offset_clear_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_paste | ( | wmOperatorType * | ot | ) |
Definition at line 2531 of file sequencer_edit.cc.
References wmOperatorType::description, ED_operator_sequencer_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), sequencer_clipboard_paste_exec(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_reassign_inputs | ( | wmOperatorType * | ot | ) |
Definition at line 1335 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, sequencer_effect_poll(), and sequencer_reassign_inputs_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_refresh_all | ( | wmOperatorType * | ot | ) |
Definition at line 1182 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, sequencer_refresh_all_exec(), and sequencer_refresh_all_poll().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_reload | ( | wmOperatorType * | ot | ) |
Definition at line 1130 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), sequencer_edit_poll(), sequencer_reload_exec(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_rendersize | ( | wmOperatorType * | ot | ) |
Definition at line 2471 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, sequencer_edit_poll(), and sequencer_rendersize_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_scene_frame_range_update | ( | wmOperatorType * | ot | ) |
Definition at line 3499 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, sequencer_scene_frame_range_update_exec(), and sequencer_scene_frame_range_update_poll().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_set_range_to_strips | ( | wmOperatorType * | ot | ) |
Definition at line 3191 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), sequencer_edit_poll(), sequencer_set_range_to_strips_exec(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_slip | ( | wmOperatorType * | ot | ) |
Definition at line 799 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, FLT_MAX, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_float(), RNA_def_property_ui_range(), sequencer_edit_poll(), sequencer_slip_exec(), sequencer_slip_invoke(), sequencer_slip_modal(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_snap | ( | wmOperatorType * | ot | ) |
Definition at line 432 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_int(), sequencer_edit_poll(), sequencer_snap_exec(), sequencer_snap_invoke(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_split | ( | wmOperatorType * | ot | ) |
Definition at line 1583 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, PROP_HIDDEN, prop_side_types, PROP_SKIP_SAVE, prop_split_types, RNA_def_boolean(), RNA_def_enum(), RNA_def_int(), RNA_def_property_flag(), SEQ_SIDE_MOUSE, SEQ_SPLIT_SOFT, sequencer_edit_poll(), sequencer_split_exec(), sequencer_split_invoke(), sequencer_split_ui(), wmOperatorType::srna, and wmOperatorType::ui.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_strip_color_tag_set | ( | wmOperatorType * | ot | ) |
Definition at line 3386 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_enum(), rna_enum_strip_color_items, SEQUENCE_COLOR_NONE, sequencer_strip_color_tag_set_exec(), sequencer_strip_color_tag_set_poll(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_strip_jump | ( | wmOperatorType * | ot | ) |
Definition at line 2236 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), sequencer_strip_jump_exec(), sequencer_strip_jump_poll(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_strip_transform_clear | ( | wmOperatorType * | ot | ) |
Definition at line 3269 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), sequencer_edit_poll(), sequencer_strip_transform_clear_exec(), wmOperatorType::srna, STRIP_TRANSFORM_ALL, and transform_reset_properties.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_strip_transform_fit | ( | wmOperatorType * | ot | ) |
Definition at line 3333 of file sequencer_edit.cc.
References wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, wmOperatorType::prop, RNA_def_enum(), scale_fit_methods, SEQ_SCALE_TO_FIT, sequencer_edit_poll(), sequencer_strip_transform_fit_exec(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_swap | ( | wmOperatorType * | ot | ) |
Definition at line 2403 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, prop_side_lr_types, RNA_def_enum(), SEQ_SIDE_RIGHT, sequencer_edit_poll(), sequencer_swap_exec(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_swap_data | ( | wmOperatorType * | ot | ) |
Definition at line 2604 of file sequencer_edit.cc.
References wmOperatorType::description, ED_operator_sequencer_active(), wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, and sequencer_swap_data_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_swap_inputs | ( | wmOperatorType * | ot | ) |
Definition at line 1376 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, sequencer_effect_poll(), and sequencer_swap_inputs_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_unlock | ( | wmOperatorType * | ot | ) |
Definition at line 1005 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, sequencer_edit_poll(), and sequencer_unlock_exec().
Referenced by sequencer_operatortypes().
| void SEQUENCER_OT_unmute | ( | wmOperatorType * | ot | ) |
Definition at line 925 of file sequencer_edit.cc.
References wmOperatorType::description, wmOperatorType::exec, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, OPTYPE_REGISTER, OPTYPE_UNDO, ot, wmOperatorType::poll, RNA_def_boolean(), sequencer_edit_poll(), sequencer_unmute_exec(), and wmOperatorType::srna.
Referenced by sequencer_operatortypes().
|
static |
Definition at line 1276 of file sequencer_edit.cc.
References BKE_report(), CTX_data_scene(), NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, Sequence::seq1, Sequence::seq2, seq_effect_find_selected(), SEQ_effect_get_num_inputs(), SEQ_offset_animdata(), SEQ_relations_invalidate_cache_preprocessed(), SEQ_relations_render_loop_check(), SEQ_select_active_get(), SEQ_sequence_lookup_invalidate(), SEQ_time_left_handle_frame_get(), SEQ_time_left_handle_frame_set(), Sequence::start, Sequence::type, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_reassign_inputs().
|
static |
Definition at line 1168 of file sequencer_edit.cc.
References CTX_data_scene(), blender::seq::media_presence_free(), NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, SEQ_editing_get(), SEQ_relations_free_imbuf(), Editing::seqbase, blender::seq::thumbnail_cache_clear(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_refresh_all().
|
static |
Definition at line 1160 of file sequencer_edit.cc.
References G, and sequencer_edit_poll().
Referenced by SEQUENCER_OT_refresh_all().
|
static |
Definition at line 1105 of file sequencer_edit.cc.
References CTX_data_main(), CTX_data_scene(), LISTBASE_FOREACH, NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), SELECT, SEQ_add_reload_new_file(), SEQ_editing_get(), SEQ_transform_seqbase_shuffle(), SEQ_transform_test_overlap(), Editing::seqbasep, blender::seq::thumbnail_cache_invalidate_strip(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_reload().
|
static |
Definition at line 2428 of file sequencer_edit.cc.
References CTX_data_scene(), NC_SCENE, NC_SPACE, ND_RENDER_OPTIONS, ND_SPACE_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, StripElem::orig_height, StripElem::orig_width, StripTransform::scale_x, StripTransform::scale_y, SEQ_relations_invalidate_cache_preprocessed(), SEQ_render_give_stripelem(), SEQ_select_active_get(), SEQ_TYPE_IMAGE, SEQ_TYPE_MOVIE, Sequence::strip, Strip::stripdata, Strip::transform, Sequence::type, WM_event_add_notifier(), StripTransform::xofs, and StripTransform::yofs.
Referenced by SEQUENCER_OT_rendersize().
|
static |
Definition at line 3472 of file sequencer_edit.cc.
References Editing::act_seq, CTX_data_scene(), DEG_id_tag_update(), RenderData::efra, ID_RECALC_AUDIO, ID_RECALC_SEQUENCER_STRIPS, Sequence::len, NC_SPACE, ND_SPACE_SEQUENCER, OPERATOR_FINISHED, Scene::r, Sequence::scene, SEQ_editing_get(), SEQ_relations_invalidate_cache_raw(), SEQ_time_left_handle_frame_get(), SEQ_time_left_handle_frame_set(), SEQ_time_right_handle_frame_get(), SEQ_time_right_handle_frame_set(), RenderData::sfra, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_scene_frame_range_update().
|
static |
Definition at line 3493 of file sequencer_edit.cc.
References Editing::act_seq, CTX_data_scene(), SEQ_editing_get(), SEQ_TYPE_SCENE, and Sequence::type.
Referenced by SEQUENCER_OT_scene_frame_range_update().
|
static |
Definition at line 1886 of file sequencer_edit.cc.
References CTX_data_scene(), Sequence::endofs, StripElem::filename, ListBase::first, Sequence::flag, Sequence::len, MEM_reallocN, NC_SCENE, ND_SEQUENCER, Sequence::next, OPERATOR_FINISHED, wmOperator::ptr, RNA_int_get(), SELECT, SEQ_active_seqbase_get(), SEQ_DUPE_UNIQUE_NAME, SEQ_edit_flag_for_removal(), SEQ_edit_remove_flagged_sequences(), SEQ_editing_get(), SEQ_prefetch_stop(), SEQ_render_give_stripelem(), SEQ_sequence_dupli_recursive(), SEQ_SINGLE_FRAME_CONTENT, SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), SEQ_transform_seqbase_shuffle(), SEQ_transform_test_overlap(), SEQ_TYPE_IMAGE, Sequence::start, Sequence::strip, Strip::stripdata, STRNCPY, Sequence::type, Strip::us, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_images_separate().
|
static |
Definition at line 1963 of file sequencer_edit.cc.
References IFACE_, and WM_operator_props_popup_confirm_ex().
Referenced by SEQUENCER_OT_images_separate().
|
static |
Definition at line 3410 of file sequencer_edit.cc.
References CTX_data_scene(), CTX_wm_space_seq(), SpaceSeq::cursor, NC_SPACE, ND_SPACE_SEQUENCER, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, wmOperator::ptr, RNA_float_get_array(), SEQ_image_preview_unit_from_px(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_cursor_set(), and sequencer_set_2d_cursor_invoke().
|
static |
Definition at line 3426 of file sequencer_edit.cc.
References CTX_wm_region(), wmEvent::mval, wmOperator::ptr, RNA_float_set_array(), sequencer_set_2d_cursor_exec(), and UI_view2d_region_to_view().
Referenced by SEQUENCER_OT_cursor_set().
|
static |
Definition at line 3145 of file sequencer_edit.cc.
References BKE_report(), CTX_data_scene(), LISTBASE_FOREACH, max_ii(), MAXFRAME, min_ii(), NC_SCENE, ND_FRAME_RANGE, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RPT_ERROR, RPT_WARNING, SCER_PRV_RANGE, SELECT, SEQ_editing_get(), SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), Editing::seqbasep, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_set_range_to_strips().
|
static |
Definition at line 565 of file sequencer_edit.cc.
References Sequence::anim_endofs, Sequence::anim_startofs, diff(), Sequence::len, SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), and SEQ_time_start_frame_get().
Referenced by handle_number_input(), sequencer_slip_exec(), and sequencer_slip_modal().
|
static |
Definition at line 590 of file sequencer_edit.cc.
References CTX_data_scene(), wmOperator::customdata, data, DEG_id_tag_update(), ID_RECALC_SEQUENCER_STRIPS, MEM_freeN(), NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_float_get(), round_fl_to_int(), SEQ_editing_get(), Editing::seqbasep, sequencer_slip_apply_limits(), sequencer_slip_strips(), slip_add_sequences(), slip_count_sequences(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_slip().
|
static |
Definition at line 501 of file sequencer_edit.cc.
References copy_v2_v2(), CTX_data_scene(), wmOperator::customdata, data, initNumInput(), wmEvent::mval, NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_RUNNING_MODAL, SEQ_editing_get(), Editing::seqbasep, slip_add_sequences(), slip_count_sequences(), UI_view2d_fromcontext(), UI_view2d_region_to_view(), USER_UNIT_NONE, WM_event_add_modal_handler(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_slip().
|
static |
Definition at line 679 of file sequencer_edit.cc.
References CTX_data_scene(), CTX_wm_area(), wmOperator::customdata, DEG_id_tag_update(), ED_area_status_text(), EVT_ESCKEY, EVT_LEFTSHIFTKEY, EVT_RETKEY, EVT_RIGHTSHIFTKEY, EVT_SPACEKEY, handle_number_input(), handleNumInput(), hasNumInput(), ID_RECALC_SEQUENCER_STRIPS, KM_PRESS, KM_RELEASE, LEFTMOUSE, MEM_freeN(), MOUSEMOVE, NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_RUNNING_MODAL, wmOperator::ptr, RIGHTMOUSE, RNA_float_set(), sequencer_slip_apply_limits(), sequencer_slip_strips(), sequencer_slip_update_header(), wmEvent::type, UI_view2d_fromcontext(), UI_view2d_region_to_view(), wmEvent::val, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_slip().
|
static |
Definition at line 544 of file sequencer_edit.cc.
References SEQ_channels_displayed_get(), SEQ_editing_get(), SEQ_relations_invalidate_cache_preprocessed(), SEQ_time_slip_strip(), and SEQ_transform_is_locked().
Referenced by handle_number_input(), sequencer_slip_exec(), and sequencer_slip_modal().
|
static |
Definition at line 629 of file sequencer_edit.cc.
References ED_area_status_text(), hasNumInput(), IFACE_, NUM_STR_REP_LEN, outputNumInput(), SNPRINTF, and UI_MAX_DRAW_STR.
Referenced by handle_number_input(), and sequencer_slip_modal().
|
static |
Definition at line 353 of file sequencer_edit.cc.
References CTX_data_scene(), DEG_id_tag_update(), ID_RECALC_SEQUENCER_STRIPS, LISTBASE_FOREACH, NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, wmOperator::ptr, RNA_int_get(), SELECT, SEQ_channels_displayed_get(), SEQ_editing_get(), SEQ_LEFTSEL, SEQ_offset_animdata(), SEQ_relations_invalidate_cache_composite(), SEQ_RIGHTSEL, SEQ_time_left_handle_frame_get(), SEQ_time_left_handle_frame_set(), SEQ_time_right_handle_frame_set(), SEQ_transform_is_locked(), SEQ_transform_seqbase_shuffle(), SEQ_transform_sequence_can_be_translated(), SEQ_transform_test_overlap(), SEQ_transform_translate_sequence(), SEQ_TYPE_EFFECT, Editing::seqbasep, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_snap(), and sequencer_snap_invoke().
|
static |
Definition at line 420 of file sequencer_edit.cc.
References CTX_data_scene(), wmOperator::ptr, RNA_int_set(), and sequencer_snap_exec().
Referenced by SEQUENCER_OT_snap().
|
static |
Definition at line 1443 of file sequencer_edit.cc.
References BKE_report(), CTX_data_main(), CTX_data_scene(), LISTBASE_FOREACH, LISTBASE_FOREACH_BACKWARD, NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_enum_get(), RNA_int_get(), RNA_struct_property_is_set(), RPT_ERROR, SELECT, SEQ_active_seqbase_get(), SEQ_ALLSEL, SEQ_edit_strip_split(), SEQ_editing_get(), SEQ_prefetch_stop(), SEQ_SIDE_BOTH, SEQ_SIDE_LEFT, SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), Editing::seqbasep, sequence_split_side_for_exec_get(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_split(), and sequencer_split_invoke().
|
static |
Definition at line 1533 of file sequencer_edit.cc.
References CTX_data_scene(), ED_operator_sequencer_active(), mouse_frame_side(), wmEvent::mval, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), RNA_enum_set(), RNA_int_set(), SEQ_SIDE_BOTH, SEQ_SIDE_MOUSE, sequencer_split_exec(), UI_view2d_fromcontext(), and UI_view2d_region_to_view().
Referenced by SEQUENCER_OT_split().
|
static |
Definition at line 1564 of file sequencer_edit.cc.
References wmOperator::layout, wmOperator::ptr, RNA_boolean_get(), UI_ITEM_NONE, UI_ITEM_R_EXPAND, uiItemR(), uiItemS(), uiLayoutRow(), uiLayoutSetPropDecorate(), and uiLayoutSetPropSep().
Referenced by SEQUENCER_OT_split().
|
static |
Definition at line 2904 of file sequencer_edit.cc.
References Editing::act_seq, CTX_data_scene(), SEQ_editing_get(), SEQ_TYPE_SCENE, and Sequence::type.
Referenced by SEQUENCER_OT_change_scene().
|
static |
Definition at line 3354 of file sequencer_edit.cc.
References CTX_data_scene(), LISTBASE_FOREACH, NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), SELECT, SEQ_editing_get(), Editing::seqbasep, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_strip_color_tag_set().
|
static |
Definition at line 3370 of file sequencer_edit.cc.
References Editing::act_seq, CTX_data_scene(), and SEQ_editing_get().
Referenced by SEQUENCER_OT_strip_color_tag_set().
| bool sequencer_strip_editable_poll | ( | bContext * | C | ) |
Definition at line 185 of file sequencer_edit.cc.
References Editing::act_seq, CTX_data_scene(), ID_IS_EDITABLE, and SEQ_editing_get().
Referenced by SEQUENCER_OT_strip_modifier_add(), SEQUENCER_OT_strip_modifier_copy(), SEQUENCER_OT_strip_modifier_equalizer_redefine(), SEQUENCER_OT_strip_modifier_move(), and SEQUENCER_OT_strip_modifier_remove().
| bool sequencer_strip_has_path_poll | ( | bContext * | C | ) |
Definition at line 195 of file sequencer_edit.cc.
References Editing::act_seq, CTX_data_scene(), SEQ_editing_get(), and SEQ_HAS_PATH.
Referenced by SEQUENCER_OT_change_path().
|
static |
Definition at line 3107 of file sequencer_edit.cc.
References Editing::act_seq, CTX_data_scene(), SEQ_editing_get(), SEQ_TYPE_TEXT, and Sequence::type.
Referenced by SEQUENCER_OT_export_subtitles().
|
static |
Definition at line 2219 of file sequencer_edit.cc.
References CTX_data_scene(), DEG_id_tag_update(), ID_RECALC_FRAME_CHANGE, NC_SCENE, ND_FRAME, next, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), SEQ_SIDE_LEFT, SEQ_SIDE_RIGHT, strip_jump_internal(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_strip_jump().
|
static |
Definition at line 2209 of file sequencer_edit.cc.
References G, and sequencer_edit_poll().
Referenced by SEQUENCER_OT_strip_jump().
|
static |
Definition at line 3232 of file sequencer_edit.cc.
References CTX_data_scene(), LISTBASE_FOREACH, NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), SELECT, SEQ_editing_get(), SEQ_relations_invalidate_cache_preprocessed(), SEQ_TYPE_SOUND_RAM, Editing::seqbasep, STRIP_TRANSFORM_ALL, STRIP_TRANSFORM_POSITION, STRIP_TRANSFORM_ROTATION, STRIP_TRANSFORM_SCALE, WM_event_add_notifier(), and StripTransform::xofs.
Referenced by SEQUENCER_OT_strip_transform_clear().
|
static |
Definition at line 3304 of file sequencer_edit.cc.
References CTX_data_scene(), LISTBASE_FOREACH, NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, StripElem::orig_height, StripElem::orig_width, wmOperator::ptr, RNA_enum_get(), SELECT, SEQ_editing_get(), SEQ_relations_invalidate_cache_preprocessed(), SEQ_render_give_stripelem(), SEQ_set_scale_to_fit(), SEQ_TYPE_SOUND_RAM, Editing::seqbasep, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_strip_transform_fit().
|
static |
Definition at line 2561 of file sequencer_edit.cc.
References BKE_report(), BKE_sound_add_scene_sound_defaults(), BKE_sound_remove_scene_sound(), CTX_data_scene(), NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, Sequence::scene_sound, SEQ_edit_sequence_swap(), SEQ_relations_invalidate_cache_raw(), SEQ_select_active_get_pair(), Sequence::sound, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_swap_data().
|
static |
Definition at line 2343 of file sequencer_edit.cc.
References CTX_data_scene(), Sequence::effectdata, find_next_prev_sequence(), LISTBASE_FOREACH, NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, RNA_enum_get(), Sequence::seq1, Sequence::seq2, SEQ_active_seqbase_get(), SEQ_channels_displayed_get(), SEQ_editing_get(), SEQ_effect_get_num_inputs(), seq_is_parent(), SEQ_select_active_get(), SEQ_SIDE_LEFT, SEQ_SIDE_RIGHT, SEQ_transform_is_locked(), SEQ_transform_seqbase_shuffle(), SEQ_transform_test_overlap(), SEQ_TYPE_EFFECT, swap_sequence(), Sequence::type, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_swap().
|
static |
Definition at line 1356 of file sequencer_edit.cc.
References BKE_report(), CTX_data_scene(), NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, Sequence::seq1, Sequence::seq2, SEQ_relations_invalidate_cache_preprocessed(), SEQ_select_active_get(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_swap_inputs().
|
static |
Definition at line 989 of file sequencer_edit.cc.
References CTX_data_scene(), LISTBASE_FOREACH, NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, SELECT, SEQ_editing_get(), Editing::seqbasep, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_unlock().
|
static |
Definition at line 893 of file sequencer_edit.cc.
References CTX_data_scene(), DEG_id_tag_update(), ID_RECALC_SEQUENCER_STRIPS, LISTBASE_FOREACH, NC_SCENE, ND_SEQUENCER, OPERATOR_FINISHED, wmOperator::ptr, RNA_boolean_get(), SELECT, SEQ_channels_displayed_get(), SEQ_editing_get(), SEQ_relations_invalidate_dependent(), SEQ_transform_is_locked(), Editing::seqbasep, and WM_event_add_notifier().
Referenced by SEQUENCER_OT_unmute().
| bool sequencer_view_has_preview_poll | ( | bContext * | C | ) |
Definition at line 203 of file sequencer_edit.cc.
References CTX_data_scene(), CTX_wm_region(), CTX_wm_space_seq(), ELEM, SpaceSeq::mainb, RGN_TYPE_PREVIEW, SEQ_DRAW_IMG_IMBUF, SEQ_editing_get(), SEQ_VIEW_PREVIEW, SEQ_VIEW_SEQUENCE_PREVIEW, and SpaceSeq::view.
Referenced by all_strips_from_context(), ED_sequencer_selected_strips_from_context(), sequencer_de_select_all_exec(), sequencer_delete_exec(), SEQUENCER_OT_cursor_set(), SEQUENCER_OT_view_ghost_border(), sequencer_select_grouped_exec(), sequencer_select_inverse_exec(), and sequencer_view_selected_exec().
| bool sequencer_view_preview_only_poll | ( | const bContext * | C | ) |
Definition at line 225 of file sequencer_edit.cc.
References CTX_data_scene(), CTX_wm_region(), CTX_wm_space_seq(), ELEM, SpaceSeq::mainb, RGN_TYPE_PREVIEW, SEQ_DRAW_IMG_IMBUF, SEQ_editing_get(), SEQ_VIEW_PREVIEW, and SpaceSeq::view.
Referenced by seq_draw_image_origin_and_outline(), sequencer_box_select_exec(), sequencer_box_select_invoke(), sequencer_de_select_all_exec(), sequencer_delete_exec(), sequencer_select_exec(), sequencer_select_grouped_exec(), sequencer_select_inverse_exec(), and sequencer_view_selected_exec().
| bool sequencer_view_strips_poll | ( | bContext * | C | ) |
Definition at line 245 of file sequencer_edit.cc.
References CTX_wm_region(), CTX_wm_space_seq(), ED_space_sequencer_check_show_strip(), and RGN_TYPE_WINDOW.
Definition at line 476 of file sequencer_edit.cc.
References LISTBASE_FOREACH, SELECT, and SEQ_TYPE_EFFECT.
Referenced by sequencer_slip_exec(), and sequencer_slip_invoke().
Definition at line 488 of file sequencer_edit.cc.
References LISTBASE_FOREACH, SELECT, and SEQ_TYPE_EFFECT.
Referenced by sequencer_slip_exec(), and sequencer_slip_invoke().
|
static |
Definition at line 2191 of file sequencer_edit.cc.
References SEQ_time_find_next_prev_edit().
Referenced by sequencer_strip_jump_exec().
Definition at line 2267 of file sequencer_edit.cc.
References SEQ_relations_invalidate_cache_preprocessed(), SEQ_time_left_handle_frame_get(), SEQ_time_right_handle_frame_get(), SEQ_transform_translate_sequence(), and Sequence::start.
Referenced by sequencer_swap_exec().
|
static |
Definition at line 2261 of file sequencer_edit.cc.
Referenced by SEQUENCER_OT_swap().
| const EnumPropertyItem prop_side_types[] |
Definition at line 1417 of file sequencer_edit.cc.
Referenced by SEQUENCER_OT_select_side(), and SEQUENCER_OT_split().
|
static |
Definition at line 1411 of file sequencer_edit.cc.
Referenced by SEQUENCER_OT_split().
|
static |
Definition at line 3297 of file sequencer_edit.cc.
Referenced by SEQUENCER_OT_strip_transform_fit().
| const EnumPropertyItem sequencer_prop_effect_types[] |
Definition at line 2665 of file sequencer_edit.cc.
Referenced by SEQUENCER_OT_change_effect_type(), and SEQUENCER_OT_effect_strip_add().
|
static |
Definition at line 3224 of file sequencer_edit.cc.
Referenced by SEQUENCER_OT_strip_transform_clear().