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:
authorDalai Felinto <dfelinto@gmail.com>2017-01-27 17:21:14 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-01-30 20:31:29 +0300
commit5fa0315a754270a82589a7437a3e60cf7e221d78 (patch)
tree701efcaff519aa27e893ce1195777acbec347bbd
parentf2e217938ed1c67c2b09b4e77f33f9303b0f0a1f (diff)
Mesh batch caches should not be stored in file
-rw-r--r--source/blender/blenloader/intern/writefile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index 151fd06ed61..2df7fb3becd 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -2271,6 +2271,7 @@ static void write_meshes(WriteData *wd, ListBase *idbase)
CustomData_reset(&mesh->pdata);
CustomData_reset(&mesh->ldata);
mesh->edit_btmesh = NULL;
+ mesh->batch_cache = NULL;
/* now fill in polys to mfaces */
/* XXX This breaks writing design, by using temp allocated memory, which will likely generate