Blender V4.3
SEQ_animation.hh File Reference
#include "DNA_listBase.h"

Go to the source code of this file.

Classes

struct  SeqAnimationBackup
 

Functions

bool SEQ_animation_curves_exist (Scene *scene)
 
bool SEQ_animation_drivers_exist (Scene *scene)
 
void SEQ_free_animdata (Scene *scene, Sequence *seq)
 
void SEQ_offset_animdata (Scene *scene, Sequence *seq, int ofs)
 
GSetSEQ_fcurves_by_strip_get (const Sequence *seq, ListBase *fcurve_base)
 
void SEQ_animation_backup_original (Scene *scene, SeqAnimationBackup *backup)
 
void SEQ_animation_restore_original (Scene *scene, SeqAnimationBackup *backup)
 
void SEQ_animation_duplicate_backup_to_scene (Scene *scene, Sequence *seq, SeqAnimationBackup *backup)
 

Function Documentation

◆ SEQ_animation_backup_original()

void SEQ_animation_backup_original ( Scene * scene,
SeqAnimationBackup * backup )

◆ SEQ_animation_curves_exist()

bool SEQ_animation_curves_exist ( Scene * scene)

◆ SEQ_animation_drivers_exist()

bool SEQ_animation_drivers_exist ( Scene * scene)

◆ 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().

◆ SEQ_animation_restore_original()

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().

◆ SEQ_fcurves_by_strip_get()

◆ SEQ_free_animdata()

◆ SEQ_offset_animdata()