[Bf-blender-cvs] [5fa0315a75] clay-engine: Mesh batch caches should not be stored in file

Dalai Felinto noreply at git.blender.org
Mon Jan 30 18:32:44 CET 2017


Commit: 5fa0315a754270a82589a7437a3e60cf7e221d78
Author: Dalai Felinto
Date:   Fri Jan 27 15:21:14 2017 +0100
Branches: clay-engine
https://developer.blender.org/rB5fa0315a754270a82589a7437a3e60cf7e221d78

Mesh batch caches should not be stored in file

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

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

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

diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index 151fd06ed6..2df7fb3bec 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




More information about the Bf-blender-cvs mailing list