diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-05-19 23:45:43 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-05-19 23:52:57 +0300 |
commit | 97cf2a9fb1070614a7428974dd763b4de988d272 (patch) | |
tree | 9c0e8652692ff78e11eb9747429b7a1400ff40ee /source/blender/sequencer/intern/strip_edit.c | |
parent | 58893eaef8414d27815fb20b049db14333bb4eb2 (diff) |
VSE: Refactor sorting functions
Recently `SEQ_sort()` function was split so functionality is provided
on per-seqbase basis. After discussion about this split, it turned out,
that per-seqbase operation is only that should be provided, because
RNA API functions need to be able to access arbitrary seqbase
Remove recently introduced function `seq_sort_seqbase` and change
`SEQ_sort` function to operate on seqbase.
Reviewed By: sergey
Differential Revision: https://developer.blender.org/D11297
Diffstat (limited to 'source/blender/sequencer/intern/strip_edit.c')
-rw-r--r-- | source/blender/sequencer/intern/strip_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/sequencer/intern/strip_edit.c b/source/blender/sequencer/intern/strip_edit.c index b5b0dc2770e..18f99272ee7 100644 --- a/source/blender/sequencer/intern/strip_edit.c +++ b/source/blender/sequencer/intern/strip_edit.c @@ -407,7 +407,7 @@ Sequence *SEQ_edit_strip_split(Main *bmain, /* Sort list, so that no strip can depend on next strip in list. * This is important for SEQ_time_update_sequence functionality. */ - seq_sort_seqbase(&left_strips); + SEQ_sort(&left_strips); /* Duplicate ListBase. */ ListBase right_strips = {NULL, NULL}; |