diff options
Diffstat (limited to 'source/blender/sequencer/intern/utils.c')
-rw-r--r-- | source/blender/sequencer/intern/utils.c | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/source/blender/sequencer/intern/utils.c b/source/blender/sequencer/intern/utils.c index 71686065882..cd779b0b0c7 100644 --- a/source/blender/sequencer/intern/utils.c +++ b/source/blender/sequencer/intern/utils.c @@ -55,13 +55,6 @@ #include "proxy.h" #include "utils.h" -/** - * Sort strips in provided seqbase. Effect strips are trailing the list and they are sorted by - * channel position as well. - * This is important for SEQ_time_update_sequence to work properly - * - * \param seqbase: ListBase with strips - */ void SEQ_sort(ListBase *seqbase) { if (seqbase == NULL) { @@ -432,7 +425,6 @@ const Sequence *SEQ_get_topmost_sequence(const Scene *scene, int frame) return best_seq; } -/* in cases where we don't know the sequence's listbase */ ListBase *SEQ_get_seqbase_by_seq(ListBase *seqbase, Sequence *seq) { Sequence *iseq; @@ -465,10 +457,6 @@ Sequence *SEQ_get_meta_by_seqbase(ListBase *seqbase_main, ListBase *meta_seqbase return seq; } -/** - * Only use as last resort when the StripElem is available but no the Sequence. - * (needed for RNA) - */ Sequence *SEQ_sequence_from_strip_elem(ListBase *seqbase, StripElem *se) { Sequence *iseq; @@ -525,10 +513,10 @@ void SEQ_alpha_mode_from_file_extension(Sequence *seq) } } -/* called on draw, needs to be fast, - * we could cache and use a flag if we want to make checks for file paths resolving for eg. */ bool SEQ_sequence_has_source(const Sequence *seq) { + /* Called on draw, needs to be fast, + * we could cache and use a flag if we want to make checks for file paths resolving for eg. */ switch (seq->type) { case SEQ_TYPE_MASK: return (seq->mask != NULL); @@ -589,13 +577,6 @@ void SEQ_set_scale_to_fit(const Sequence *seq, } } -/** - * Ensure, that provided Sequence has unique name. If animation data exists for this Sequence, it - * will be duplicated and mapped onto new name - * - * \param seq: Sequence which name will be ensured to be unique - * \param scene: Scene in which name must be unique - */ void SEQ_ensure_unique_name(Sequence *seq, Scene *scene) { char name[SEQ_NAME_MAXSTR]; |