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/blenkernel/intern/packedFile.c
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/blenkernel/intern/packedFile.c')
-rw-r--r--source/blender/blenkernel/intern/packedFile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/packedFile.c b/source/blender/blenkernel/intern/packedFile.c
index 8c77ed92aa1..3e47c1006e5 100644
--- a/source/blender/blenkernel/intern/packedFile.c
+++ b/source/blender/blenkernel/intern/packedFile.c
@@ -473,7 +473,7 @@ int unpackSound(ReportList *reports, bSound *sound, int how)
freePackedFile(sound->packedfile);
sound->packedfile = 0;
- sound_load(sound);
+ sound_load(NULL, sound);
ret_value = RET_OK;
}