Fix #107289: Sound strips are invisible and overlap #107798

Merged
Richard Antalik merged 4 commits from iss/blender:107289 into main 2023-05-09 22:14:23 +02:00

4 Commits

Author SHA1 Message Date
Richard Antalik 3cb8330212 Merge branch 'main' into 107289
buildbot/vexp-code-patch-coordinator Build done. Details
2023-05-09 22:02:39 +02:00
Richard Antalik 6a282bbd73 Failed to ammend changes 2023-05-09 22:00:15 +02:00
Richard Antalik 393817421d I have localized the issue with greater certainty, so now this fix
should be applicable
2023-05-09 21:43:01 +02:00
Richard Antalik 694e29dfd0 Fix #107289: Sound strips are invisible and overlap
In some cases strips may end up with speed factor of 0 which causes
offsets and position to be invalid. The exact cause is unknown, but
most likely caused by `do_versions_sequencer_init_retiming_tool_data()`.

This could possibly happen if 3.6 file is saved with 3.5 version and
then opened again with 3.6 version.

To fix strips, sound length is reloaded, offsets stripped and speed
factor is set to 1. Previous versioning code is fixed, so speed factor is never set to 0.
2023-05-09 21:15:19 +02:00