[Bf-blender-cvs] [9baf925] gooseberry: MTFACE customdata is not suitable or necessary for caching, so disable it.

Lukas Tönne noreply at git.blender.org
Mon Mar 23 13:04:14 CET 2015


Commit: 9baf925d2b153c06bedf783917e6046850c43380
Author: Lukas Tönne
Date:   Thu Mar 19 12:56:13 2015 +0100
Branches: gooseberry
https://developer.blender.org/rB9baf925d2b153c06bedf783917e6046850c43380

MTFACE customdata is not suitable or necessary for caching, so disable
it.

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

M	source/blender/pointcache/alembic/abc_mesh.cpp

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

diff --git a/source/blender/pointcache/alembic/abc_mesh.cpp b/source/blender/pointcache/alembic/abc_mesh.cpp
index e07cd18..128be23 100644
--- a/source/blender/pointcache/alembic/abc_mesh.cpp
+++ b/source/blender/pointcache/alembic/abc_mesh.cpp
@@ -43,7 +43,7 @@ using namespace Abc;
 using namespace AbcGeom;
 
 /* CD layers that are stored in generic customdata arrays created with CD_ALLOC */
-static CustomDataMask CD_MASK_CACHE = ~( CD_MASK_MVERT | CD_MASK_MEDGE | CD_MASK_MFACE | CD_MASK_MPOLY | CD_MASK_MLOOP | CD_MASK_BMESH);
+static CustomDataMask CD_MASK_CACHE = ~(CD_MASK_MVERT | CD_MASK_MEDGE | CD_MASK_MFACE | CD_MASK_MPOLY | CD_MASK_MLOOP | CD_MASK_BMESH | CD_MASK_MTFACE);
 
 AbcDerivedMeshWriter::AbcDerivedMeshWriter(const std::string &name, Object *ob, DerivedMesh **dm_ptr) :
     DerivedMeshWriter(ob, dm_ptr, name),




More information about the Bf-blender-cvs mailing list