diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-09-05 23:34:27 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2011-09-05 23:34:27 +0400 |
commit | 59a823c48aec80a48b39e27f8474302caf2dbf26 (patch) | |
tree | 16c70594284aaa154b99f8b91e605b447955001f /source/blender/editors/sound | |
parent | a6d9a5a972595c898e596deb95eb683430621188 (diff) |
Code cleanup: remove context from RNA update functions, only one left.
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 70884d47c23..72dbbd9da9a 100644 --- a/source/blender/editors/sound/sound_ops.c +++ b/source/blender/editors/sound/sound_ops.c @@ -119,7 +119,7 @@ static int open_exec(bContext *C, wmOperator *op) info = AUD_getInfo(sound->playback_handle); if (info.specs.channels == AUD_CHANNELS_INVALID) { - sound_delete(C, sound); + sound_delete(bmain, sound); if(op->customdata) MEM_freeN(op->customdata); BKE_report(op->reports, RPT_ERROR, "Unsupported audio format"); return OPERATOR_CANCELLED; |