diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-27 17:47:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-27 17:47:53 +0400 |
commit | e17bf02c2dcf6e51176eafc5bbe77171bc7014c5 (patch) | |
tree | d64b04687791c96d639458278c73110f804fa04a /source/blender/bmesh/bmesh_class.h | |
parent | 08b35cda7fb903d4e6cf0f7e6b29024ee536f2b3 (diff) |
Code Cleanup:
* made bmesh_structure.h function names more consistant.
* remove unused code in bmesh_structure.c
* removed 'Edge Flip' operator (missing from bmesh but looked into trunk feature and dont think its worth keeping).
* tagged some BMESH_TODO's
Diffstat (limited to 'source/blender/bmesh/bmesh_class.h')
-rw-r--r-- | source/blender/bmesh/bmesh_class.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/source/blender/bmesh/bmesh_class.h b/source/blender/bmesh/bmesh_class.h index d800fe7bf77..87607f4d9e8 100644 --- a/source/blender/bmesh/bmesh_class.h +++ b/source/blender/bmesh/bmesh_class.h @@ -30,24 +30,23 @@ /* bmesh data structures */ /* dissable holes for now, these are ifdef'd because they use more memory and cant be saved in DNA currently */ -#define USE_BMESH_HOLES +// #define USE_BMESH_HOLES struct BMesh; struct BMVert; struct BMEdge; struct BMLoop; struct BMFace; -struct BMFlagLayer; -struct BMLayerType; -struct BMSubClassLayer; struct BLI_mempool; struct Object; -/*note: it is very important for BMHeader to start with two - pointers. this is a requirement of mempool's method of - iteration. -*/ +/* note: it is very important for BMHeader to start with two + * pointers. this is a requirement of mempool's method of + * iteration. + * + * hrm. it doesnt but stull works ok, remove the comment above? - campbell. + */ typedef struct BMHeader { void *data; /* customdata layers */ int index; /* notes: @@ -99,10 +98,10 @@ typedef struct BMLoop { struct BMFace *f; struct BMLoop *radial_next, *radial_prev; - + /* these were originally commented as private but are used all over the code */ /* can't use ListBase API, due to head */ - struct BMLoop *next, *prev; + struct BMLoop *next, *prev; /* next/prev verts around the face */ } BMLoop; /* can cast BMFace/BMEdge/BMVert, but NOT BMLoop, since these dont have a flag layer */ |