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/BKE_sound.h
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/BKE_sound.h')
-rw-r--r--source/blender/blenkernel/BKE_sound.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_sound.h b/source/blender/blenkernel/BKE_sound.h
index 1dd90b4dbda..84ecd79a008 100644
--- a/source/blender/blenkernel/BKE_sound.h
+++ b/source/blender/blenkernel/BKE_sound.h
@@ -54,7 +54,7 @@ void sound_delete(struct bContext *C, struct bSound* sound);
void sound_cache(struct bSound* sound, int ignore);
-void sound_load(struct bSound* sound);
+void sound_load(struct Main *main, struct bSound* sound);
void sound_free(struct bSound* sound);