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>2020-11-19 07:26:57 +0300
committerRichard Antalik <richardantalik@gmail.com>2020-11-19 07:31:40 +0300
commit8ec6b34b8eb2b0c4565950c39bef622d76e78ff9 (patch)
treecf2fe265556d340e4aac053d3662f5d781e49996 /source/blender/sequencer/SEQ_sequencer.h
parent9d6d5b9bebd1d58d635539652232a1862d10e0bc (diff)
VSE: Move split operator logic to module code
Code was rewritten to work on per-sequence basis returning reference to created strip. There should be no functional changes. Selection logic is left as is for now. I could simplify it, but it belongs to operator, not split logic. Reviewed By: sergey Differential Revision: developer.blender.org/D9592
Diffstat (limited to 'source/blender/sequencer/SEQ_sequencer.h')
-rw-r--r--source/blender/sequencer/SEQ_sequencer.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/source/blender/sequencer/SEQ_sequencer.h b/source/blender/sequencer/SEQ_sequencer.h
index d9e2d32db0b..20333e3505c 100644
--- a/source/blender/sequencer/SEQ_sequencer.h
+++ b/source/blender/sequencer/SEQ_sequencer.h
@@ -576,6 +576,25 @@ void BKE_sequencer_check_uuids_unique_and_report(const struct Scene *scene);
/* Generate new UUID for the given sequence. */
void BKE_sequence_session_uuid_generate(struct Sequence *sequence);
+/* **********************************************************************
+ * strip_edit.c
+ *
+ * Editing functions
+ * **********************************************************************
+ */
+
+typedef enum eSeqSplitMethod {
+ SEQ_SPLIT_SOFT,
+ SEQ_SPLIT_HARD,
+} eSeqSplitMethod;
+
+struct Sequence *SEQ_edit_strip_split(struct Main *bmain,
+ struct Scene *scene,
+ struct ListBase *seqbase,
+ struct Sequence *seq,
+ const int timeline_frame,
+ const eSeqSplitMethod method);
+
#ifdef __cplusplus
}
#endif