diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2010-10-16 18:53:54 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2010-10-16 18:53:54 +0400 |
commit | 03eb8d02229843c3257076c00a8f51925f3c93a6 (patch) | |
tree | 3a4a6103b1f470532cd3dfbdcc07ada5e3c44bbc /source/blender/makesrna/intern | |
parent | 1aecaaf815676700cb297fc43953cdecfdcf90c4 (diff) |
Maybe now correct commit :°
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_sound.c | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_userdef.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_sound.c b/source/blender/makesrna/intern/rna_sound.c index 674fbbad9c6..0c217837226 100644 --- a/source/blender/makesrna/intern/rna_sound.c +++ b/source/blender/makesrna/intern/rna_sound.c @@ -38,7 +38,7 @@ static void rna_Sound_filepath_update(Main *bmain, Scene *scene, PointerRNA *ptr) { - sound_load(bmain, (bSound*)ptr->data); + sound_load((bSound*)ptr->data); } static int rna_Sound_caching_get(PointerRNA *ptr) diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c index b3b263fe030..4196b3585b3 100644 --- a/source/blender/makesrna/intern/rna_userdef.c +++ b/source/blender/makesrna/intern/rna_userdef.c @@ -169,7 +169,7 @@ static PointerRNA rna_UserDef_system_get(PointerRNA *ptr) static void rna_UserDef_audio_update(Main *bmain, Scene *scene, PointerRNA *ptr) { - sound_init(); + sound_init(bmain); } static void rna_Userdef_memcache_update(Main *bmain, Scene *scene, PointerRNA *ptr) |