diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2017-04-21 13:47:14 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2017-04-21 15:11:49 +0300 |
commit | 9d819775b719b6e1e838c833d7d4fb576503b2c7 (patch) | |
tree | 1d830ad0da26c9821dd0b3b62ce090aaa5f316b8 | |
parent | 45b9ee525d718b151fec92bc5f9503f23e0a58bb (diff) |
Alembic: properly initialising cachefile object paths list.
-rw-r--r-- | source/blender/blenkernel/intern/cachefile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/cachefile.c b/source/blender/blenkernel/intern/cachefile.c index 3dce08eb756..ff0a776aa82 100644 --- a/source/blender/blenkernel/intern/cachefile.c +++ b/source/blender/blenkernel/intern/cachefile.c @@ -82,6 +82,7 @@ void BKE_cachefile_init(CacheFile *cache_file) cache_file->is_sequence = false; cache_file->scale = 1.0f; cache_file->handle_mutex = BLI_mutex_alloc(); + BLI_listbase_clear(&cache_file->object_paths); } /** Free (or release) any data used by this cachefile (does not free the cachefile itself). */ |