diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-02-21 06:02:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-02-21 06:02:39 +0300 |
commit | 7260e8fe294d77533dc7f41303419b492fc0de98 (patch) | |
tree | 5fc93df939302f6424cb0dd17fb19df4db9f3334 /source/blender/blenlib | |
parent | 95f91f2a4634a7b42d7ddca02cc2f4702141ae80 (diff) |
bugfix [#17941] Attempting to change path of audio to relative fails.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/intern/bpath.c | 4 |
1 files 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; |