Commit: 8cc176c14d64fa6bb0bdd9f1925594b3c3fdb53e
Author: Lukas Tönne
Date: Wed Mar 4 18:30:10 2015 +0100
Branches: alembic_pointcache
https://developer.blender.org/rB8cc176c14d64fa6bb0bdd9f1925594b3c3fdb53e
Convenience feature: When linking a cache library, always default it to
'read' mode locally.
Linking a cache library is meant to be used for getting existing cache
data into a file.
===================================================================
M source/blender/blenloader/intern/readfile.c
===================================================================
diff --git a/source/blender/blenloader/intern/readfile.c
b/source/blender/blenloader/intern/readfile.c
index 684d1e9..08dcee3 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -1965,6 +1965,9 @@ static void direct_link_cache_library(FileData *fd,
CacheLibrary *cachelib)
{
link_list(fd, &cachelib->items);
cachelib->items_hash = NULL;
+
+ if (cachelib->id.flag & (LIB_EXTERN | LIB_INDIRECT))
+ cachelib->flag |= CACHE_LIBRARY_READ;
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs