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:
authorRobert Wenzlaff <rwenzlaff@soylent-green.com>2004-01-10 04:22:07 +0300
committerRobert Wenzlaff <rwenzlaff@soylent-green.com>2004-01-10 04:22:07 +0300
commit6a9d29d1dbaf8d35243c4aeac4340d9f08c5ec5d (patch)
treea2f3452975a1b4438dfa1b4dff9a2508e8abdcf7 /source/blender/makesdna/DNA_mesh_types.h
parente3080c9580cc47c0329a62618a7b178d9da42ccb (diff)
-Changed "Simple" button to pulldown menu or subsurf type.
Paves way for additional subsurf types, and avoids confusion where Simple is on, but Subsurf is off.
Diffstat (limited to 'source/blender/makesdna/DNA_mesh_types.h')
-rw-r--r--source/blender/makesdna/DNA_mesh_types.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h
index 71c65d450bf..6a4f5260b58 100644
--- a/source/blender/makesdna/DNA_mesh_types.h
+++ b/source/blender/makesdna/DNA_mesh_types.h
@@ -142,7 +142,8 @@ typedef struct Mesh {
short smoothresh, flag;
short subdiv, subdivr, subdivdone;
short totcol;
- short reserved1, reserved2; /* Padding */
+ short subsurftype;
+ short reserved1; /* Padding */
float cubemapsize, rtf;
@@ -165,7 +166,10 @@ typedef struct Mesh {
#define ME_SMESH 64
#define ME_SUBSURF 128
#define ME_OPT_EDGES 256
-#define ME_SIMPLE_DIV 512
+
+/* Subsurf Type */
+#define ME_CC_SUBSURF 0
+#define ME_SIMPLE_SUBSURF 1
/* puno = vertexnormal (mface) */
#define ME_FLIPV1 1