Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Antalik <richardantalik@gmail.com>2021-05-06 06:53:17 +0300
committerRichard Antalik <richardantalik@gmail.com>2021-05-06 06:57:39 +0300
commit11b50b2b77664f820291acb029c394a36edb337d (patch)
tree7ff9342b4d8ef0343daf905b1e12ced04ad93a08 /source/blender/sequencer/SEQ_utils.h
parentf74b7e6ce9b905f8fe32048391512a3d79111325 (diff)
Cleanup: VSE: move functions from incorrect file
`SEQ_recursive_apply` and `SEQ_seqbase_recursive_apply` were incorrectly refactored into `iterator.c` file, but they aren't part and don't use sequencer iterator. Functions are moved to `utils.c` file.
Diffstat (limited to 'source/blender/sequencer/SEQ_utils.h')
-rw-r--r--source/blender/sequencer/SEQ_utils.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/sequencer/SEQ_utils.h b/source/blender/sequencer/SEQ_utils.h
index 45f53a64688..52fac5d7d0e 100644
--- a/source/blender/sequencer/SEQ_utils.h
+++ b/source/blender/sequencer/SEQ_utils.h
@@ -54,7 +54,12 @@ void SEQ_set_scale_to_fit(const struct Sequence *seq,
const int preview_width,
const int preview_height,
const eSeqImageFitMethod fit_method);
-
+int SEQ_seqbase_recursive_apply(struct ListBase *seqbase,
+ int (*apply_fn)(struct Sequence *seq, void *),
+ void *arg);
+int SEQ_recursive_apply(struct Sequence *seq,
+ int (*apply_fn)(struct Sequence *, void *),
+ void *arg);
#ifdef __cplusplus
}
#endif