Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-07-19 04:42:01 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-07-19 04:42:01 +0400
commit6789b8fd82059b6ee67c636cdd3115df18454edb (patch)
tree65daecf94986063510b5e149583f14f1013ee920 /source/blender/makesdna/DNA_mesh_types.h
parent29c1727e8868075ae52cb9c894d823f217e50e3c (diff)
added commends to some DNA_*.h files - as well as some TODO's for removal.
header_view3d.c was doign an implicit declaration also.
Diffstat (limited to 'source/blender/makesdna/DNA_mesh_types.h')
-rw-r--r--source/blender/makesdna/DNA_mesh_types.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h
index 5f2a77b8349..04d5f2124c4 100644
--- a/source/blender/makesdna/DNA_mesh_types.h
+++ b/source/blender/makesdna/DNA_mesh_types.h
@@ -61,19 +61,19 @@ typedef struct Mesh {
struct Key *key;
struct Material **mat;
- struct MFace *mface;
- struct MTFace *mtface;
+ 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 */
- struct MVert *mvert;
- struct MEdge *medge;
+ struct MVert *mvert; /* array of verts */
+ struct MEdge *medge; /* array of edges */
struct MDeformVert *dvert; /* __NLA */
- struct MCol *mcol;
+ struct MCol *mcol; /* array of colors, this must be the number of faces * 4 */
struct MSticky *msticky;
struct Mesh *texcomesh;
struct MSelect *mselect;
- struct OcInfo *oc; /* not written in file */
- void *sumohandle;
+ struct OcInfo *oc; /* not written in file - TODO remove this! */
+ void *sumohandle; /* this is not used anywhere anymore - TODO remove this too (Campbell)*/
struct CustomData vdata, edata, fdata;
@@ -91,7 +91,7 @@ typedef struct Mesh {
short subdiv, subdivr;
short totcol;
- short subsurftype;
+ short subsurftype; /* only kept for backwards compat, not used anymore */
struct Multires *mr; /* Multiresolution modeling data */
struct PartialVisibility *pv;
@@ -103,7 +103,7 @@ typedef struct Mesh {
/* deprecated by MTFace, only here for file reading */
typedef struct TFace {
- void *tpage;
+ void *tpage; /* the faces image for the active UVLayer */
float uv[4][2];
unsigned int col[4];
char flag, transp;