diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-06-17 04:40:44 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-06-17 04:42:04 +0300 |
commit | e7003bc9654b217e5938d64fb40094035735de9b (patch) | |
tree | 632657a701424d1c5f9bdfd835daffe7d0723796 /source/blender/sequencer/SEQ_time.h | |
parent | c73be23e176272da78b38f733fd56af09ebd7acf (diff) |
VSE: Reduce transform code complexity
Reduce complexity of sequencer transform code by removing recursivity.
This is possible by treating meta strips (mostly) as any other strip and
containing all transform code within SEQ_ functions.
Unfortunately internally meta strips still require special treatment,
but all complexity from code all over transform code seems to be
possible to contain within one function.
Functional change:
Previously adjusting handle of single image strip moved animation.
Now animation is not moved, which is behavior for all other strips.
Reviewed By: sergey, mano-wii
Differential Revision: https://developer.blender.org/D11493
Diffstat (limited to 'source/blender/sequencer/SEQ_time.h')
-rw-r--r-- | source/blender/sequencer/SEQ_time.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/sequencer/SEQ_time.h b/source/blender/sequencer/SEQ_time.h index 67d3a2e5960..593a8fe7bf2 100644 --- a/source/blender/sequencer/SEQ_time.h +++ b/source/blender/sequencer/SEQ_time.h @@ -46,6 +46,7 @@ void SEQ_time_update_sequence(struct Scene *scene, struct Sequence *seq); void SEQ_time_update_sequence_bounds(struct Scene *scene, struct Sequence *seq); int SEQ_time_cmp_time_startdisp(const void *a, const void *b); bool SEQ_time_strip_intersects_frame(const struct Sequence *seq, const int timeline_frame); +void SEQ_time_update_meta_strip_range(struct Scene *scene, struct Sequence *seq_meta); #ifdef __cplusplus } |