|
Blender V4.3
|
#include <cstring>#include "DNA_anim_types.h"#include "DNA_scene_types.h"#include "DNA_sequence_types.h"#include "BKE_fcurve.hh"#include "BLI_ghash.h"#include "BLI_listbase.h"#include "BLI_string.h"#include "DEG_depsgraph.hh"#include "SEQ_animation.hh"Go to the source code of this file.
Macros | |
| #define | SEQ_RNAPATH_MAXSTR ((30 + 2 + (SEQ_NAME_MAXSTR * 2) + 2) + 1) |
Functions | |
| bool | SEQ_animation_curves_exist (Scene *scene) |
| bool | SEQ_animation_drivers_exist (Scene *scene) |
| static size_t | sequencer_rna_path_prefix (char str[SEQ_RNAPATH_MAXSTR], const char *name) |
| GSet * | SEQ_fcurves_by_strip_get (const Sequence *seq, ListBase *fcurve_base) |
| void | SEQ_offset_animdata (Scene *scene, Sequence *seq, int ofs) |
| void | SEQ_free_animdata (Scene *scene, Sequence *seq) |
| void | SEQ_animation_backup_original (Scene *scene, SeqAnimationBackup *backup) |
| void | SEQ_animation_restore_original (Scene *scene, SeqAnimationBackup *backup) |
| static void | seq_animation_duplicate (Scene *scene, Sequence *seq, ListBase *dst, ListBase *src) |
| void | SEQ_animation_duplicate_backup_to_scene (Scene *scene, Sequence *seq, SeqAnimationBackup *backup) |
| #define SEQ_RNAPATH_MAXSTR ((30 + 2 + (SEQ_NAME_MAXSTR * 2) + 2) + 1) |
Definition at line 37 of file animation.cc.
Referenced by SEQ_fcurves_by_strip_get(), and sequencer_rna_path_prefix().
| void SEQ_animation_backup_original | ( | Scene * | scene, |
| SeqAnimationBackup * | backup ) |
Move all F-Curves and drivers from scene to backup.
Definition at line 120 of file animation.cc.
References BLI_movelisttolist(), SeqAnimationBackup::curves, SeqAnimationBackup::drivers, SEQ_animation_curves_exist(), and SEQ_animation_drivers_exist().
Referenced by SEQ_edit_strip_split(), sequencer_add_duplicate_exec(), and sequencer_clipboard_paste_exec().
| bool SEQ_animation_curves_exist | ( | Scene * | scene | ) |
Definition at line 25 of file animation.cc.
References BLI_listbase_is_empty().
Referenced by SEQ_animation_backup_original(), SEQ_free_animdata(), SEQ_offset_animdata(), sequencer_copy_animation(), and sequencer_paste_animation().
| bool SEQ_animation_drivers_exist | ( | Scene * | scene | ) |
Definition at line 31 of file animation.cc.
References BLI_listbase_is_empty().
Referenced by SEQ_animation_backup_original(), sequencer_copy_animation(), and sequencer_paste_animation().
|
static |
Definition at line 140 of file animation.cc.
References BKE_fcurve_copy(), BLI_addtail(), BLI_gset_free(), GSET_FOREACH_BEGIN, GSET_FOREACH_END, LISTBASE_FOREACH, seq_animation_duplicate(), SEQ_fcurves_by_strip_get(), SEQ_TYPE_META, Sequence::seqbase, and Sequence::type.
Referenced by seq_animation_duplicate(), and SEQ_animation_duplicate_backup_to_scene().
| void SEQ_animation_duplicate_backup_to_scene | ( | Scene * | scene, |
| Sequence * | seq, | ||
| SeqAnimationBackup * | backup ) |
Duplicate F-Curves and drivers used by seq from backup to scene.
Definition at line 161 of file animation.cc.
References BLI_listbase_is_empty(), SeqAnimationBackup::curves, SeqAnimationBackup::drivers, and seq_animation_duplicate().
Referenced by SEQ_edit_strip_split(), and sequencer_add_duplicate_exec().
| void SEQ_animation_restore_original | ( | Scene * | scene, |
| SeqAnimationBackup * | backup ) |
Move all F-Curves and drivers from backup to scene.
Definition at line 130 of file animation.cc.
References BLI_listbase_is_empty(), BLI_movelisttolist(), SeqAnimationBackup::curves, and SeqAnimationBackup::drivers.
Referenced by SEQ_edit_strip_split(), sequencer_add_duplicate_exec(), and sequencer_clipboard_paste_exec().
Definition at line 48 of file animation.cc.
References BLI_gset_add(), BLI_gset_ptr_new(), LISTBASE_FOREACH, Sequence::name, SEQ_RNAPATH_MAXSTR, sequencer_rna_path_prefix(), and STREQLEN.
Referenced by seq_animation_duplicate(), SEQ_free_animdata(), SEQ_offset_animdata(), and sequencer_copy_animation_listbase().
Definition at line 102 of file animation.cc.
References BKE_fcurve_free(), BLI_gset_free(), BLI_remlink(), GSET_FOREACH_BEGIN, GSET_FOREACH_END, SEQ_animation_curves_exist(), and SEQ_fcurves_by_strip_get().
Referenced by SEQ_edit_remove_flagged_sequences().
Definition at line 69 of file animation.cc.
References BLI_gset_free(), DEG_id_tag_update(), GSET_FOREACH_BEGIN, GSET_FOREACH_END, ID_RECALC_ANIMATION, SEQ_animation_curves_exist(), SEQ_fcurves_by_strip_get(), BezTriple::vec, and FPoint::vec.
Referenced by flushTransSeq(), SEQ_transform_seqbase_shuffle_time(), SEQ_transform_translate_sequence(), sequencer_reassign_inputs_exec(), and sequencer_snap_exec().
|
static |
Definition at line 39 of file animation.cc.
References BLI_snprintf_rlen(), BLI_str_escape(), SEQ_NAME_MAXSTR, SEQ_RNAPATH_MAXSTR, and str.
Referenced by SEQ_fcurves_by_strip_get().