Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-02-21 06:02:39 +0300
committerCampbell Barton <ideasman42@gmail.com>2009-02-21 06:02:39 +0300
commit7260e8fe294d77533dc7f41303419b492fc0de98 (patch)
tree5fc93df939302f6424cb0dd17fb19df4db9f3334 /source/blender/blenlib/intern/bpath.c
parent95f91f2a4634a7b42d7ddca02cc2f4702141ae80 (diff)
bugfix [#17941] Attempting to change path of audio to relative fails.
Diffstat (limited to 'source/blender/blenlib/intern/bpath.c')
-rw-r--r--source/blender/blenlib/intern/bpath.c4
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;