Revision: 36209
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36209
Author:   nexyon
Date:     2011-04-18 10:04:28 +0000 (Mon, 18 Apr 2011)
Log Message:
-----------
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 :-)

Modified Paths:
--------------
    trunk/blender/source/blender/blenloader/intern/readfile.c

Modified: trunk/blender/source/blender/blenloader/intern/readfile.c
===================================================================
--- trunk/blender/source/blender/blenloader/intern/readfile.c   2011-04-18 
08:27:50 UTC (rev 36208)
+++ trunk/blender/source/blender/blenloader/intern/readfile.c   2011-04-18 
10:04:28 UTC (rev 36209)
@@ -9974,7 +9974,7 @@
                                        {
                                                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

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to