Mesh batch caches update from depsgraph

We no longer need to rely on Derived mesh flag since the mesh is
properly flushed from the depsgraph
This commit is contained in:
Dalai Felinto
2017-01-26 19:08:27 +01:00
parent 9b7b9d6ae9
commit 8d04f49d0e
2 changed files with 9 additions and 18 deletions

View File

@@ -172,8 +172,6 @@ typedef enum DMDirtyFlag {
/* check this with modifier dependsOnNormals callback to see if normals need recalculation */
DM_DIRTY_NORMALS = 1 << 2,
DM_MESH_BATCH_CACHE = 1 << 3,
} DMDirtyFlag;
typedef struct DerivedMesh DerivedMesh;