== Sequencer ==
authorPeter Schlaile <peter@schlaile.de>
Wed, 19 Oct 2011 18:21:08 +0000 (18:21 +0000)
committerPeter Schlaile <peter@schlaile.de>
Wed, 19 Oct 2011 18:21:08 +0000 (18:21 +0000)
do_versions fix: hd audio tracks within metastrips were not properly
upgraded from 2.49 files, resulting in broken unusable tracks, which were
rendered as black strips as a bonus.

source/blender/blenloader/intern/readfile.c

index dfaf96a6066f225b9d02ab83ea78d63626f9bd38..a6474fb50440c1d983cb9216f6bc594bc8feaf20 100644 (file)
@@ -10215,8 +10215,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
                {
                        if(scene->ed && scene->ed->seqbasep)
                        {
-                               for(seq = scene->ed->seqbasep->first; seq; seq = seq->next)
-                               {
+                               SEQ_BEGIN(scene->ed, seq) {
                                        if(seq->type == SEQ_HD_SOUND)
                                        {
                                                char str[FILE_MAX];
@@ -10236,6 +10235,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
                                                         seq->strip->dir);
                                        }
                                }
+                               SEQ_END
                        }
                }