diff options
author | Richard Antalik <richardantalik@gmail.com> | 2022-09-17 04:38:38 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2022-09-17 05:21:56 +0300 |
commit | d4a763d363f14ae4de9411652d3556df2abcce21 (patch) | |
tree | 99229e657db4891bf26fce8cbb54e80a3358751b /source/blender/gpu/GPU_shader.h | |
parent | e108d67635a09bc450978a888469820f9a9b095a (diff) |
Fix T101098: Moving meta strip can change its length
Caused by clamping handle translation to strip bounds in functions
`SEQ_time_*_handle_frame_set()` to prevent strip ending in invalid
state. Issue happens when meta strip is moved so quickly, such that
immediate offset is greater than strip length.
Currently meta strip bounds are updated when any contained strip changes
its position, but this update always preserves meta strip position.
Transforming meta strip is not possible directly and all contained
strips are moved instead. Therefore this is 2-step process and fix needs
to be applied on update function and on translation function.
Inline offset handling without clamping in function
`SEQ_time_update_meta_strip_range()`.
Add new function `seq_time_translate_handles()` to move both handles at
once in `SEQ_transform_translate_sequence()`.
Diffstat (limited to 'source/blender/gpu/GPU_shader.h')
0 files changed, 0 insertions, 0 deletions