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/blenloader/intern/readfile.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/blender/blenloader/intern/readfile.h') diff --git a/source/blender/blenloader/intern/readfile.h b/source/blender/blenloader/intern/readfile.h index a0f42769762..fd7e5c0ee00 100644 --- a/source/blender/blenloader/intern/readfile.h +++ b/source/blender/blenloader/intern/readfile.h @@ -99,9 +99,9 @@ typedef struct BHeadN { #define SIZEOFBLENDERHEADER 12 /***/ - +struct Main; void blo_join_main(ListBase *mainlist); -void blo_split_main(ListBase *mainlist); +void blo_split_main(ListBase *mainlist, struct Main *main); BlendFileData *blo_read_file_internal( FileData *fd, BlendReadError *error_r); @@ -111,6 +111,7 @@ FileData *blo_openblendermemfile(struct MemFile *memfile, BlendReadError *error_ void blo_make_image_pointer_map(FileData *fd); void blo_end_image_pointer_map(FileData *fd); +void blo_add_library_pointer_map(ListBase *mainlist, FileData *fd); void blo_freefiledata( FileData *fd); -- cgit v1.2.3