From 7260e8fe294d77533dc7f41303419b492fc0de98 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 21 Feb 2009 03:02:39 +0000 Subject: [PATCH] bugfix [#17941] Attempting to change path of audio to relative fails. --- source/blender/blenlib/intern/bpath.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/blenlib/intern/bpath.c b/source/blender/blenlib/intern/bpath.c index e23c2658399..ac0c4bf4efd 100644 --- a/source/blender/blenlib/intern/bpath.c +++ b/source/blender/blenlib/intern/bpath.c @@ -339,9 +339,9 @@ void BLI_bpathIterator_step( struct BPathIterator *bpi) { 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;