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
path: root/source
diff options
context:
space:
mode:
authorJoerg Mueller <nexyon@gmail.com>2011-04-18 14:04:28 +0400
committerJoerg Mueller <nexyon@gmail.com>2011-04-18 14:04:28 +0400
commitfae253a428e37c1e2c2c8ad30fdf01914cec4dda (patch)
treedd2a99f2b60ec60f3073951152b389e76182194d /source
parent0814cdf54ec9a0440c82d0d7ec81b8dc9ecc93ea (diff)
Fix for [#26949] problems opening 2.49 files with audio (relative path problems?)
When I wrote that code main.name wasn't set correctly and I had to use G.main.name; now it seems to be the other way round :-)
Diffstat (limited to 'source')
-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 7ad157f89e8..4ff65aeb213 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -9974,7 +9974,7 @@ static void do_versions(FileData *fd, Library *lib, Main *main)
{
char str[FILE_MAX];
BLI_join_dirfile(str, sizeof(str), seq->strip->dir, seq->strip->stripdata->name);
- BLI_path_abs(str, G.main->name);
+ BLI_path_abs(str, main->name);
seq->sound = sound_new_file(main, str);
}
/* don't know, if anybody used that