diff options
Diffstat (limited to 'source/blender/blenkernel/intern/speaker.c')
-rw-r--r-- | source/blender/blenkernel/intern/speaker.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/speaker.c b/source/blender/blenkernel/intern/speaker.c index fb6a473f04d..a01e2eae96e 100644 --- a/source/blender/blenkernel/intern/speaker.c +++ b/source/blender/blenkernel/intern/speaker.c @@ -87,7 +87,7 @@ void make_local_speaker(Speaker *spk) if(spk->id.lib==NULL) return; if(spk->id.us==1) { - id_clear_lib_data(&bmain->speaker, (ID *)spk); + id_clear_lib_data(bmain, (ID *)spk); return; } @@ -101,7 +101,7 @@ void make_local_speaker(Speaker *spk) } if(local && lib==0) { - id_clear_lib_data(&bmain->speaker, (ID *)spk); + id_clear_lib_data(bmain, (ID *)spk); } else if(local && lib) { Speaker *spkn= copy_speaker(spk); |