Use the ultimate depsgraph callback function

Note: when in edit mode this depsgraph update is not being called. We are using DerivedMesh in those cases, so it is fine. I would like to investigate this though
This commit is contained in:
Dalai Felinto
2017-01-26 18:56:52 +01:00
parent 9023abbf27
commit 4c43dddeb7
3 changed files with 28 additions and 8 deletions

View File

@@ -32,6 +32,7 @@
struct Batch;
struct Mesh;
void BKE_mesh_batch_cache_dirty(struct Mesh *me);
void BKE_mesh_batch_cache_free(struct Mesh *me);
struct Batch *BKE_mesh_batch_cache_get_all_edges(struct Mesh *me);
struct Batch *BKE_mesh_batch_cache_get_all_triangles(struct Mesh *me);