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 :-)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user