diff options
author | Ton Roosendaal <ton@blender.org> | 2004-04-22 23:58:54 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-04-22 23:58:54 +0400 |
commit | 438331af8e4679a0dcd3c32b95a71861c38b75c1 (patch) | |
tree | 53e9ac2b8fee78e20165bd5d1200fdb22c4f85f4 /source/blender/blenloader | |
parent | 66578d290002950bec57310b9967ceee3dc502a6 (diff) |
Nasty Library linking and appending stuff!
Problem: when appending data, it called the local_all() function, which
indeed made all data local, including all other dynamic linked data.
Not very nice... but mixing dynamic & appending data from single file is
headcrunching code.
Solution: when appending data, it now only makes local_all() the data from
that specific library file, leaving dynamic data from other files linked.
(Bug report 1183)
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 6d8272f7a48..42d4e3c52a4 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -374,7 +374,7 @@ static void read_libraries(FileData *basefd, ListBase *mainlist); static void add_main_to_main(Main *mainvar, Main *from) { - ListBase *lbarray[30], *fromarray[30]; + ListBase *lbarray[100], *fromarray[100]; // define in library.c too int a; a= set_listbasepointers(mainvar, lbarray); |