From 89b906db9f758fb9642e01d9b4433b97557369fb Mon Sep 17 00:00:00 2001 From: Joseph Eagar Date: Mon, 30 Mar 2009 07:28:37 +0000 Subject: editmesh accessor functions. most editmesh access now goes through: EditMesh *EM_GetEditMesh(Mesh *me); void EM_EndEditMesh(Mesh *me, EditMesh *em); as discussed on the mailling list, this is to facilitate migration to bmesh. next step is to merge this this to the bmesh branch. this was done in the 2.5 branch to prevent too great a divergance. also, made makesdna/makesrna work on cygwin/msvc2008/scons. --- source/blender/editors/include/ED_mesh.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/ED_mesh.h b/source/blender/editors/include/ED_mesh.h index 022d8fe49a8..53b50460d1d 100644 --- a/source/blender/editors/include/ED_mesh.h +++ b/source/blender/editors/include/ED_mesh.h @@ -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); -- cgit v1.2.3