From 604b4230325aa012efb063e0a3fd2ac23809e393 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sat, 25 Nov 2006 13:07:28 +0000 Subject: - Library linking feature: global undo/redo now doesn't read the linked library .blend files anymore, making it a load faster to use. - Fixed ancient annoyance; samples were not properly freed, giving a lot "Error Totblock" when using sound. This fix also involves removing an ancient NaN hack, which treated the samples as fake Library data in the Main database. But still, the Blender Sound and Sample code is horrible... :/ --- source/blender/blenkernel/BKE_sound.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/blenkernel/BKE_sound.h') diff --git a/source/blender/blenkernel/BKE_sound.h b/source/blender/blenkernel/BKE_sound.h index e6634bc4a6a..0a747847b11 100644 --- a/source/blender/blenkernel/BKE_sound.h +++ b/source/blender/blenkernel/BKE_sound.h @@ -39,8 +39,11 @@ struct bSound; struct bSample; struct ListBase; +/* bad bad global... */ extern struct ListBase *samples; +void sound_free_all_samples(void); + /* void *sound_get_listener(void); implemented in src!also declared there now */ void sound_set_packedfile(struct bSample* sample, struct PackedFile* pf); -- cgit v1.2.3