Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Tönne <lukas.toenne@gmail.com>2015-02-19 13:01:49 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-03-23 14:21:21 +0300
commit03ecd1760af610b4e6593252a95824b8d3ddeeea (patch)
treec2d94ed4aeadc0029ad5edf0624eed460d81a365 /source/blender/blenkernel/intern/idcode.c
parentbc56a3797e6aba227199894d29dd8931374a3afe (diff)
New ID datablock 'CacheLibrary', for managing physical cache archives
and files. At it's core this is just a file path, but many different cache users may refer to this, so having a dedicated ID block helps. It can be compared to Image datablocks, which also primarily are used for data on storage, but can be packed with the blend file, and carry some additional information that would be cumbersome to keep sync'ed otherwise. The name 'CacheLibrary' deliberately resembles the 'Library' datablock: just as a Library stores ID blocks in a physical file, a CacheLibrary stores cached data (in Alembic HDF5/Ogawa or other formats). Conflicts: source/blender/blenkernel/BKE_pointcache.h source/blender/blenkernel/intern/pointcache.c source/blender/makesdna/DNA_pointcache_types.h Conflicts: source/blender/makesrna/intern/rna_main_api.c
Diffstat (limited to 'source/blender/blenkernel/intern/idcode.c')
-rw-r--r--source/blender/blenkernel/intern/idcode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/idcode.c b/source/blender/blenkernel/intern/idcode.c
index 1b7a03ec80e..fbd2359d08f 100644
--- a/source/blender/blenkernel/intern/idcode.c
+++ b/source/blender/blenkernel/intern/idcode.c
@@ -53,6 +53,7 @@ static IDType idtypes[] = {
{ ID_AC, "Action", "actions", IDTYPE_FLAGS_ISLINKABLE },
{ ID_AR, "Armature", "armatures", IDTYPE_FLAGS_ISLINKABLE },
{ ID_BR, "Brush", "brushes", IDTYPE_FLAGS_ISLINKABLE },
+ { ID_CL, "CacheLibrary", "cache_libraries", 0 },
{ ID_CA, "Camera", "cameras", IDTYPE_FLAGS_ISLINKABLE },
{ ID_CU, "Curve", "curves", IDTYPE_FLAGS_ISLINKABLE },
{ ID_GD, "GPencil", "grease_pencil", IDTYPE_FLAGS_ISLINKABLE }, /* rename gpencil */