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>2011-04-04 08:47:18 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-04 08:47:18 +0400
commit91769a65f27b0b23fd39edbe7272ee48d0daf5b2 (patch)
tree987e8af6041f921e151b6571c3b12d138e3ab276 /source/blender/makesdna/DNA_mesh_types.h
parenta3cc6c73e8ab92775b6a053132c859d2aec264f8 (diff)
remove unused DNA from mesh, effects list & cubemap size.
Diffstat (limited to 'source/blender/makesdna/DNA_mesh_types.h')
-rw-r--r--source/blender/makesdna/DNA_mesh_types.h20
1 files changed, 8 insertions, 12 deletions
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h
index bd2a6a996b5..ae7f5e65316 100644
--- a/source/blender/makesdna/DNA_mesh_types.h
+++ b/source/blender/makesdna/DNA_mesh_types.h
@@ -58,8 +58,6 @@ typedef struct Mesh {
struct AnimData *adt; /* animation data (must be immediately after id for utilities to use it) */
struct BoundBox *bb;
-
- ListBase effect;
struct Ipo *ipo; // XXX depreceated... old animation system
struct Key *key;
@@ -87,22 +85,20 @@ typedef struct Mesh {
* of the last selected face and is similar to the old active face flag where
* the face does not need to be selected, -1 is inactive */
int act_face;
-
- short texflag, editflag;
-
+
/* texture space, copied as one block in editobject.c */
float loc[3];
float size[3];
float rot[3];
-
- float cubemapsize;
-
- int drawflag;
+
+ short texflag, drawflag;
short smoothresh, flag;
short subdiv, subdivr;
+ char subsurftype; /* only kept for backwards compat, not used anymore */
+ char editflag;
+
short totcol;
- short subsurftype; /* only kept for backwards compat, not used anymore */
struct Multires *mr; /* Multiresolution modeling data */
struct PartialVisibility *pv;
@@ -128,7 +124,7 @@ typedef struct TFace {
#define ME_EDIT_MIRROR_Z (1 << 2) // unused so far
#define ME_EDIT_PAINT_MASK (1 << 3)
-#define ME_EDIT_MIRROR_TOPO (1 << 4) // unused so far
+#define ME_EDIT_MIRROR_TOPO (1 << 4)
/* me->flag */
@@ -143,7 +139,7 @@ typedef struct TFace {
#define ME_OPT_EDGES 256
#define ME_DS_EXPAND 512
-/* me->drawflag, int */
+/* me->drawflag, short */
#define ME_DRAWEDGES (1 << 0)
#define ME_DRAWFACES (1 << 1)
#define ME_DRAWNORMALS (1 << 2)