diff options
author | Joerg Mueller <nexyon@gmail.com> | 2009-07-24 22:28:09 +0400 |
---|---|---|
committer | Joerg Mueller <nexyon@gmail.com> | 2009-07-24 22:28:09 +0400 |
commit | 25aa8d37b5cfcbf3d318ec26d3dcb7d5694199e5 (patch) | |
tree | 089261dff61f91bd2ccdb4f675a3fc0991d6c1de /source/blender/blenloader/intern/readfile.c | |
parent | 4d1d1480ebb998356212c46aa5133fc0a0bcbadd (diff) |
Initial (ugly) sequencer sound support.
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 2c75c143bc3..21b3d26e68e 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -9130,6 +9130,18 @@ static void do_versions(FileData *fd, Library *lib, Main *main) PTCacheID *pid; ListBase pidlist; +// AUD_XXX + bSound *sound; + + for(sound = main->sound.first; sound; sound = sound->id.next) + { + if(sound->newpackedfile) + { + sound->packedfile = sound->newpackedfile; + sound->newpackedfile = NULL; + } + } + for(screen= main->screen.first; screen; screen= screen->id.next) { do_versions_windowmanager_2_50(screen); do_versions_gpencil_2_50(main, screen); @@ -9221,19 +9233,11 @@ static void do_versions(FileData *fd, Library *lib, Main *main) Scene *sce; ToolSettings *ts; int i; - // AUD_XXX bSound *sound; for(sound = main->sound.first; sound; sound = sound->id.next) - { - if(sound->newpackedfile) - { - sound->packedfile = sound->newpackedfile; - sound->newpackedfile = NULL; - } sound_load(sound); - } for(ob = main->object.first; ob; ob = ob->id.next) { |