diff options
author | Joerg Mueller <nexyon@gmail.com> | 2010-11-13 16:44:45 +0300 |
---|---|---|
committer | Joerg Mueller <nexyon@gmail.com> | 2010-11-13 16:44:45 +0300 |
commit | 2fbfd11f8db0cc6dbb0afc0a018e951f10f2a42c (patch) | |
tree | 8010d6ed7cd94faadae1b932d8eec0dc054b8fd7 /source/blender/editors/sound | |
parent | c1dec420b089e43d1fee5ba361847d7653167937 (diff) |
Fix for [#24654] Sound Actuator doesn't find the file when Blender is reopened.
Diffstat (limited to 'source/blender/editors/sound')
-rw-r--r-- | source/blender/editors/sound/sound_ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sound/sound_ops.c b/source/blender/editors/sound/sound_ops.c index 18f35502f8b..df45bc15827 100644 --- a/source/blender/editors/sound/sound_ops.c +++ b/source/blender/editors/sound/sound_ops.c @@ -275,7 +275,7 @@ static int unpack_exec(bContext *C, wmOperator *op) if(G.fileflags & G_AUTOPACK) BKE_report(op->reports, RPT_WARNING, "AutoPack is enabled, so image will be packed again on file save."); - unpackSound(op->reports, sound, method); + unpackSound(CTX_data_main(C), op->reports, sound, method); return OPERATOR_FINISHED; } |