Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Mueller <nexyon@gmail.com>2009-08-25 19:30:04 +0400
committerJoerg Mueller <nexyon@gmail.com>2009-08-25 19:30:04 +0400
commit4ba6dbce767c7e3fe4c91aaca79da6f35d5492c9 (patch)
tree203e3659a9e790f100ca153490abc1d0bd578e3c /source/blender/blenloader
parent3d7215da581b5c1dac6d566aa43ef3cfccd13c92 (diff)
Replaced G.sce by Main.name in sound.c.
I hoped for it to resolve the bug of loading sounds with relative paths didn't work, but Main.name isn't set before the sounds are loaded, so the bug resists! Someone who is into file loading should please fix this!
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 5cc3ff7695a..920e202520e 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -5075,7 +5075,7 @@ static void lib_link_sound(FileData *fd, Main *main)
sound->ipo= newlibadr_us(fd, sound->id.lib, sound->ipo); // XXX depreceated - old animation system
sound->stream = 0;
- sound_load(sound);
+ sound_load(main, sound);
}
sound= sound->id.next;
}