editmesh accessor functions. most editmesh access now goes through:
[blender.git] / source / blender / editors / include / ED_mesh.h
index 022d8fe49a8020f64d28af4c6e4074ae10f9f2f3..53b50460d1d64313a0cb4893c73fea1527de49b6 100644 (file)
@@ -82,6 +82,12 @@ void         ED_keymap_mesh(struct wmWindowManager *wm);
 
 
 /* editmesh.c */
+
+/*accessor functions for editmesh, all access to editmesh must
+  go through them!*/
+struct EditMesh *EM_GetEditMesh(struct Mesh *me);
+void EM_EndEditMesh(struct Mesh *me, struct EditMesh *em);
+
 void           ED_spacetypes_init(void);
 void           ED_keymap_mesh(struct wmWindowManager *wm);