|
Blender V4.3
|
#include <cstring>#include "BLO_readfile.hh"#include "BLO_writefile.hh"#include "MEM_guardedalloc.h"#include "ED_outliner.hh"#include "ED_sequencer.hh"#include "DNA_anim_types.h"#include "DNA_scene_types.h"#include "DNA_sequence_types.h"#include "DNA_space_types.h"#include "DNA_windowmanager_types.h"#include "BLI_ghash.h"#include "BLI_listbase.h"#include "BLI_path_utils.hh"#include "BKE_anim_data.hh"#include "BKE_appdir.hh"#include "BKE_blender_copybuffer.hh"#include "BKE_blendfile.hh"#include "BKE_context.hh"#include "BKE_fcurve.hh"#include "BKE_lib_id.hh"#include "BKE_lib_query.hh"#include "BKE_lib_remap.hh"#include "BKE_main.hh"#include "BKE_report.hh"#include "BKE_scene.hh"#include "SEQ_animation.hh"#include "SEQ_select.hh"#include "SEQ_sequencer.hh"#include "SEQ_time.hh"#include "SEQ_transform.hh"#include "SEQ_utils.hh"#include "DEG_depsgraph.hh"#include "DEG_depsgraph_build.hh"#include "ANIM_animdata.hh"#include "WM_api.hh"#include "WM_types.hh"#include "sequencer_intern.hh"Go to the source code of this file.
Macros | |
| #define | VSE_COPYBUFFER_IDTYPES ID_SO, ID_MC, ID_IM, ID_TXT, ID_VF, ID_AC |
Functions | |
| static void | sequencer_copy_animation_listbase (Scene *scene_src, Sequence *seq_dst, ListBase *clipboard_dst, ListBase *fcurve_base_src) |
| static void | sequencer_copy_animation (Scene *scene_src, ListBase *fcurves_dst, ListBase *drivers_dst, Sequence *seq_dst) |
| static void | sequencer_copybuffer_filepath_get (char filepath[FILE_MAX], size_t filepath_maxncpy) |
| static bool | sequencer_write_copy_paste_file (Main *bmain_src, Scene *scene_src, const char *filepath, ReportList &reports) |
| int | sequencer_clipboard_copy_exec (bContext *C, wmOperator *op) |
| static bool | sequencer_paste_animation (Main *bmain_dst, Scene *scene_dst, Scene *scene_src) |
| int | sequencer_clipboard_paste_exec (bContext *C, wmOperator *op) |
Referenced by sequencer_write_copy_paste_file().
| int sequencer_clipboard_copy_exec | ( | bContext * | C, |
| wmOperator * | op ) |
Definition at line 244 of file sequencer_clipboard.cc.
References BKE_report(), CTX_data_main(), CTX_data_scene(), FILE_MAX, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::reports, RPT_ERROR, RPT_INFO, SEQ_editing_get(), SEQ_transform_seqbase_isolated_sel_check(), Editing::seqbasep, sequencer_copybuffer_filepath_get(), and sequencer_write_copy_paste_file().
Referenced by SEQUENCER_OT_copy().
| int sequencer_clipboard_paste_exec | ( | bContext * | C, |
| wmOperator * | op ) |
Definition at line 299 of file sequencer_clipboard.cc.
References AnimData::action, Scene::adt, BKE_blendfile_read(), BKE_id_delete(), BKE_main_free(), BKE_main_merge(), BKE_report(), BKE_reportf(), BLI_listbase_count(), BLI_movelisttolist(), BLO_blendfiledata_free(), RenderData::cfra, CTX_data_main(), CTX_data_scene(), DEG_id_tag_update(), DEG_relations_tag_update(), Scene::ed, ED_outliner_select_sync_from_sequence_tag(), ED_sequencer_deselect_all(), FILE_MAX, ListBase::first, Scene::id, ID_FLAG_CLIPBOARD_MARK, ID_RECALC_SEQUENCER_STRIPS, LISTBASE_FOREACH, BlendFileData::main, Sequence::name, NC_SCENE, ND_SEQUENCER, OPERATOR_CANCELLED, OPERATOR_FINISHED, params, wmOperator::ptr, Scene::r, wmOperator::reports, RNA_boolean_get(), RPT_ERROR, RPT_INFO, Main::scenes, SEQ_animation_backup_original(), SEQ_animation_restore_original(), SEQ_editing_ensure(), SEQ_ensure_unique_name(), SEQ_select_active_get(), SEQ_select_active_set(), SEQ_sequence_base_dupli_recursive(), SEQ_time_left_handle_frame_get(), SEQ_transform_seqbase_shuffle(), SEQ_transform_test_overlap(), SEQ_transform_translate_sequence(), Editing::seqbase, Editing::seqbasep, sequencer_copybuffer_filepath_get(), sequencer_paste_animation(), and WM_event_add_notifier().
Referenced by SEQUENCER_OT_paste().
|
static |
Definition at line 96 of file sequencer_clipboard.cc.
References AnimData::action, Scene::adt, bAction::curves, AnimData::drivers, SEQ_animation_curves_exist(), SEQ_animation_drivers_exist(), and sequencer_copy_animation_listbase().
Referenced by sequencer_write_copy_paste_file().
|
static |
Definition at line 71 of file sequencer_clipboard.cc.
References BKE_fcurve_copy(), BLI_addtail(), BLI_gset_free(), GSET_FOREACH_BEGIN, GSET_FOREACH_END, LISTBASE_FOREACH, SEQ_fcurves_by_strip_get(), SEQ_TYPE_META, Sequence::seqbase, sequencer_copy_animation_listbase(), and Sequence::type.
Referenced by sequencer_copy_animation(), and sequencer_copy_animation_listbase().
|
static |
Definition at line 110 of file sequencer_clipboard.cc.
References BKE_tempdir_base(), and BLI_path_join.
Referenced by sequencer_clipboard_copy_exec(), and sequencer_clipboard_paste_exec().
|
static |
Definition at line 273 of file sequencer_clipboard.cc.
References AnimData::action, Scene::adt, BKE_fcurve_copy(), BLI_addtail(), bAction::curves, AnimData::drivers, Scene::id, blender::animrig::id_action_ensure(), LISTBASE_FOREACH, SEQ_animation_curves_exist(), and SEQ_animation_drivers_exist().
Referenced by sequencer_clipboard_paste_exec().
|
static |
Definition at line 115 of file sequencer_clipboard.cc.
References AnimData::action, Scene::adt, BKE_animdata_ensure_id(), BKE_library_foreach_ID_link(), BLI_assert, BLI_duplicatelist(), BLI_findstring(), BLI_listbase_is_empty(), BLI_movelisttolist(), LibraryIDLinkCallbackData::cb_flag, RenderData::cfra, Editing::channels, bAction::curves, Editing::displayed_channels, AnimData::drivers, Scene::ed, ELEM, Main::filepath, GS, Scene::id, ID_AC, LibraryIDLinkCallbackData::id_pointer, ID_SCE, IDWALK_CB_EMBEDDED, IDWALK_CB_EMBEDDED_NOT_OWNING, IDWALK_CB_NEVER_NULL, IDWALK_NOP, IDWALK_RET_NOP, LISTBASE_FOREACH, ID::name, Sequence::name, offsetof, Scene::r, SEQ_select_active_get(), SEQ_select_active_set(), SEQ_sequence_base_dupli_recursive(), Editing::seqbase, Editing::seqbasep, sequencer_copy_animation(), and VSE_COPYBUFFER_IDTYPES.
Referenced by sequencer_clipboard_copy_exec().