Revision: 19065
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=19065
Author:   campbellbarton
Date:     2009-02-21 04:02:39 +0100 (Sat, 21 Feb 2009)

Log Message:
-----------
bugfix [#17941] Attempting to change path of audio to relative fails.

Modified Paths:
--------------
    trunk/blender/source/blender/blenlib/intern/bpath.c

Modified: trunk/blender/source/blender/blenlib/intern/bpath.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/bpath.c 2009-02-20 22:08:02 UTC 
(rev 19064)
+++ trunk/blender/source/blender/blenlib/intern/bpath.c 2009-02-21 03:02:39 UTC 
(rev 19065)
@@ -339,9 +339,9 @@
                                bSound *snd = (bSound *)bpi->data;
                                
                                bpi->lib = snd->id.lib ? snd->id.lib->filename 
: NULL;
-                               bpi->path = snd->sample->name;
+                               bpi->path = snd->name;
                                bpi->name = snd->id.name+2;
-                               bpi->len = sizeof(snd->sample->name);
+                               bpi->len = sizeof(snd->name);
                                
                                /* we are done, advancing to the next item, 
this type worked fine */
                                break;


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

Reply via email to