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-03-03 15:14:01 +0300
committerLukas Tönne <lukas.toenne@gmail.com>2015-03-03 15:57:15 +0300
commita597d07011fca4b27b95d60067d902248be17cd9 (patch)
tree8d433ef1bebcebe948f6cb3f08061d35cfb3b586 /source/blender/editors
parent56d2ad98b453db3ee888a18351ff2f76976bb01a (diff)
Moved functions for constructing readers/writers based on cache library
out of pointcache into blenkernel. This is quite simple and repetitive and there is not need to have this in the main pointcache/Alembic API. The code is mostly concerned with logic of DNA data, so pointcache shouldn't have to deal with it.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/io/io_cache_library.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/io/io_cache_library.c b/source/blender/editors/io/io_cache_library.c
index 2118925c00f..be109b5c3d1 100644
--- a/source/blender/editors/io/io_cache_library.c
+++ b/source/blender/editors/io/io_cache_library.c
@@ -272,7 +272,7 @@ static void cache_library_bake_startjob(void *customdata, short *stop, short *do
/* disable reading for the duration of the bake process */
data->cachelib->flag &= ~CACHE_LIBRARY_READ;
- data->archive = PTC_cachelib_writers(scene, required_mode, data->cachelib, &data->writers);
+ data->archive = BKE_cache_library_writers(scene, required_mode, data->cachelib, &data->writers);
/* XXX where to get this from? */
start_frame = scene->r.sfra;
@@ -291,7 +291,7 @@ static void cache_library_bake_endjob(void *customdata)
G.is_rendering = false;
BKE_spacedata_draw_locks(false);
- PTC_cachelib_writers_free(data->archive, &data->writers);
+ BKE_cache_library_writers_free(data->archive, &data->writers);
/* enable reading */
data->cachelib->flag |= CACHE_LIBRARY_READ;