diff options
author | Joerg Mueller <nexyon@gmail.com> | 2010-10-17 13:01:37 +0400 |
---|---|---|
committer | Joerg Mueller <nexyon@gmail.com> | 2010-10-17 13:01:37 +0400 |
commit | d6d1f3cb68f59566fbfa0f23ccaaa4b84a073247 (patch) | |
tree | 732a4dd4a7d79fdef88b4db0b7375c70ee5a1844 /source/blender/editors/sound | |
parent | 856389eac7705b857ba50f0c3e3ee9d08639177e (diff) |
Reverting Cam's audio code changes from revision 32517. Part of it has been reverted by Nathan already. Cam: next time please check, why a parameter is unused before you remove it!
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 2be3a51869b..18f35502f8b 100644 --- a/source/blender/editors/sound/sound_ops.c +++ b/source/blender/editors/sound/sound_ops.c @@ -180,7 +180,7 @@ static int pack_exec(bContext *C, wmOperator *op) return OPERATOR_CANCELLED; sound->packedfile= newPackedFile(op->reports, sound->name); - sound_load(sound); + sound_load(CTX_data_main(C), sound); return OPERATOR_FINISHED; } |