forked from bartvdbraak/blender
bugfix [#17941] Attempting to change path of audio to relative fails.
This commit is contained in:
parent
95f91f2a46
commit
7260e8fe29
@ -339,9 +339,9 @@ void BLI_bpathIterator_step( struct BPathIterator *bpi) {
|
|||||||
bSound *snd = (bSound *)bpi->data;
|
bSound *snd = (bSound *)bpi->data;
|
||||||
|
|
||||||
bpi->lib = snd->id.lib ? snd->id.lib->filename : NULL;
|
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->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 */
|
/* we are done, advancing to the next item, this type worked fine */
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user