diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-12-28 18:21:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-12-28 18:21:51 +0400 |
commit | 8ccf5026e03e3bd8fd9ccdd161e651818e33a3f3 (patch) | |
tree | f9131e5c19756884dda44d0665a3750f8c648cd5 /source/blender/makesdna/DNA_mesh_types.h | |
parent | 5b88e16306711408825d9291bfeb7023bd7fd69c (diff) |
more changes from bmesh into trunk (mesh mpoly strict member)
Diffstat (limited to 'source/blender/makesdna/DNA_mesh_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_mesh_types.h | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h index ca471bbabcd..f39095886da 100644 --- a/source/blender/makesdna/DNA_mesh_types.h +++ b/source/blender/makesdna/DNA_mesh_types.h @@ -49,6 +49,11 @@ struct MCol; struct MSticky; struct Mesh; struct OcInfo; +struct MPoly; +struct MTexPoly; +struct MLoop; +struct MLoopUV; +struct MLoopCol; struct Multires; struct EditMesh; struct AnimData; @@ -63,6 +68,17 @@ typedef struct Mesh { struct Key *key; struct Material **mat; +#ifdef USE_BMESH_FORWARD_COMPAT +/* BMESH ONLY */ + /*new face structures*/ + struct MPoly *mpoly; + struct MTexPoly *mtpoly; + struct MLoop *mloop; + struct MLoopUV *mloopuv; + struct MLoopCol *mloopcol; +/* END BMESH ONLY */ +#endif + struct MFace *mface; /* array of mesh object mode faces */ struct MTFace *mtface; /* store face UV's and texture here */ struct TFace *tface; /* depecrated, use mtface */ @@ -78,8 +94,20 @@ typedef struct Mesh { struct CustomData vdata, edata, fdata; +#ifdef USE_BMESH_FORWARD_COMPAT +/* BMESH ONLY */ + struct CustomData pdata, ldata; +/* END BMESH ONLY */ +#endif + int totvert, totedge, totface, totselect; - + +#ifdef USE_BMESH_FORWARD_COMPAT +/* BMESH ONLY */ + int totpoly, totloop; +/* END BMESH ONLY */ +#endif + /* the last selected vertex/edge/face are used for the active face however * this means the active face must always be selected, this is to keep track * of the last selected face and is similar to the old active face flag where |