Commit: 00e7aa91f74ef6da910d1f47cac1664d9cb5e3f1
Author: Kévin Dietrich
Date:   Wed Jul 13 06:15:03 2016 +0200
Branches: alembic_basic_io
https://developer.blender.org/rB00e7aa91f74ef6da910d1f47cac1664d9cb5e3f1

Fix crash reading blend file with saved cache file data.

===================================================================

M       source/blender/blenloader/intern/readfile.c

===================================================================

diff --git a/source/blender/blenloader/intern/readfile.c 
b/source/blender/blenloader/intern/readfile.c
index d03ecd6..12109a9 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -2703,6 +2703,7 @@ static void lib_link_cachefiles(FileData *fd, Main *main)
                        cache_file->id.tag &= ~LIB_TAG_NEED_LINK;
                }
 
+               BLI_listbase_clear(&cache_file->object_paths);
                BKE_cachefile_load(cache_file, fd->relabase);
 
                if (cache_file->adt) {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to