Blender  V3.3
Functions | Variables
SEQ_clipboard.h File Reference

Go to the source code of this file.

Functions

void SEQ_clipboard_pointers_store (struct Main *bmain, struct ListBase *seqbase)
 
void SEQ_clipboard_pointers_restore (struct ListBase *seqbase, struct Main *bmain)
 
void SEQ_clipboard_free (void)
 
void SEQ_clipboard_active_seq_name_store (struct Scene *scene)
 
bool SEQ_clipboard_pasted_seq_was_active (struct Sequence *pasted_seq)
 

Variables

struct ListBase seqbase_clipboard
 
struct ListBase fcurves_clipboard
 
int seqbase_clipboard_frame
 

Function Documentation

◆ SEQ_clipboard_active_seq_name_store()

void SEQ_clipboard_active_seq_name_store ( struct Scene scene)

◆ SEQ_clipboard_free()

void SEQ_clipboard_free ( void  )

◆ SEQ_clipboard_pasted_seq_was_active()

bool SEQ_clipboard_pasted_seq_was_active ( struct Sequence pasted_seq)

Check if strip was active when it was copied. User should restrict this check to pasted strips before ensuring original name, because strip name comparison is used to check.

Parameters
pasted_seqStrip that is pasted(duplicated) from clipboard
Returns
true if strip was active, false otherwise

Definition at line 185 of file clipboard.c.

References Sequence::name, seq_clipboard_active_seq_name, and STREQ.

Referenced by sequencer_paste_exec().

◆ SEQ_clipboard_pointers_restore()

void SEQ_clipboard_pointers_restore ( struct ListBase seqbase,
struct Main bmain 
)

◆ SEQ_clipboard_pointers_store()

void SEQ_clipboard_pointers_store ( struct Main bmain,
struct ListBase seqbase 
)

Variable Documentation

◆ fcurves_clipboard

struct ListBase fcurves_clipboard
extern

◆ seqbase_clipboard

struct ListBase seqbase_clipboard
extern

◆ seqbase_clipboard_frame

int seqbase_clipboard_frame
extern

Definition at line 47 of file clipboard.c.

Referenced by sequencer_copy_exec(), and sequencer_paste_exec().