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>2012-08-05 18:11:51 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-08-05 18:11:51 +0400
commit0a35e050f3139a55e98f17c88875d76f433e371a (patch)
tree70e7afa5e6476a7346f38453f3647b1013e1f3b4 /source/blender/blenkernel/intern/sequencer.c
parent9ddbd8329e51582a0a5a1e6e397d2f75e5e9c0d6 (diff)
code cleanup: remove redundant calls to CTX_data_main()
Diffstat (limited to 'source/blender/blenkernel/intern/sequencer.c')
-rw-r--r--source/blender/blenkernel/intern/sequencer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/sequencer.c b/source/blender/blenkernel/intern/sequencer.c
index 3b077dd22ef..674e848937f 100644
--- a/source/blender/blenkernel/intern/sequencer.c
+++ b/source/blender/blenkernel/intern/sequencer.c
@@ -3918,7 +3918,7 @@ Sequence *sequencer_add_sound_strip(bContext *C, ListBase *seqbasep, SeqLoadInfo
AUD_SoundInfo info;
- sound = sound_new_file(CTX_data_main(C), seq_load->path); /* handles relative paths */
+ sound = sound_new_file(bmain, seq_load->path); /* handles relative paths */
if (sound == NULL || sound->playback_handle == NULL) {
//if (op)