bmesh: lazy initialize bmesh tool flag pool, has the advantage that modifiers that...
[blender-staging.git] / source / blender / bmesh / intern / bmesh_mesh.h
index 8b6ef9aa3e077753772c30c821a8a0ccc04a1587..0dcd3fc2f01ba245129d1cd8ea2304a1bbba2040 100644 (file)
@@ -29,6 +29,7 @@
 
 struct BMAllocTemplate;
 
+void   BM_mesh_elem_toolflags_ensure(BMesh *bm);
 BMesh *BM_mesh_create(struct BMAllocTemplate *allocsize);
 
 void   BM_mesh_free(BMesh *bm);
@@ -58,4 +59,8 @@ typedef struct BMAllocTemplate {
 extern BMAllocTemplate bm_mesh_allocsize_default;
 extern BMAllocTemplate bm_mesh_chunksize_default;
 
+enum {
+       BM_MESH_CREATE_USE_TOOLFLAGS = (1 << 0)
+};
+
 #endif /* __BMESH_MESH_H__ */