Replaced G.sce by Main.name in sound.c.
authorJoerg Mueller <nexyon@gmail.com>
Tue, 25 Aug 2009 15:30:04 +0000 (15:30 +0000)
committerJoerg Mueller <nexyon@gmail.com>
Tue, 25 Aug 2009 15:30:04 +0000 (15:30 +0000)
commit4ba6dbce767c7e3fe4c91aaca79da6f35d5492c9
tree203e3659a9e790f100ca153490abc1d0bd578e3c
parent3d7215da581b5c1dac6d566aa43ef3cfccd13c92
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!
intern/audaspace/ffmpeg/AUD_FFMPEGReader.cpp
source/blender/blenkernel/BKE_sound.h
source/blender/blenkernel/intern/packedFile.c
source/blender/blenkernel/intern/sound.c
source/blender/blenloader/intern/readfile.c