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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2012-03-11 01:56:23 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2012-03-11 01:56:23 +0400
commita2ebfc82dbe954acc432ae017ac62a30a11b6a16 (patch)
tree8cf8bf458d14a26849dbee6af312ff9361029b90 /source/blender/makesdna/DNA_mesh_types.h
parente9eed190e83eb351aeb435d21287eaf37fcffeb0 (diff)
parente09ab8883ce0e41add94058ecd4045ac5efa74c6 (diff)
Merged changes in the trunk up to revision 44797.
Conflicts resolved: doc/python_api/sphinx_doc_gen.py source/blender/makesdna/DNA_mesh_types.h source/blender/makesrna/intern/rna_action.c source/blender/makesrna/intern/rna_ID.c source/blender/makesrna/intern/rna_mesh.c
Diffstat (limited to 'source/blender/makesdna/DNA_mesh_types.h')
-rw-r--r--source/blender/makesdna/DNA_mesh_types.h29
1 files changed, 5 insertions, 24 deletions
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h
index be7ada5c5f1..4c57cd211dd 100644
--- a/source/blender/makesdna/DNA_mesh_types.h
+++ b/source/blender/makesdna/DNA_mesh_types.h
@@ -77,8 +77,8 @@ typedef struct Mesh {
struct MLoopCol *mloopcol;
/* END BMESH ONLY */
- /*mface stores the tessellation (triangulation) of the mesh,
- real faces are now stored in nface.*/
+ /* mface stores the tessellation (triangulation) of the mesh,
+ * real faces are now stored in nface.*/
struct MFace *mface; /* array of mesh object mode faces for tessellation */
struct MTFace *mtface; /* store tessellation face UV's and texture here */
struct TFace *tface; /* depecrated, use mtface */
@@ -87,7 +87,7 @@ typedef struct Mesh {
struct MDeformVert *dvert; /* deformgroup vertices */
/* array of colors for the tesselated faces, must be number of tesselated
- faces * 4 in length */
+ * faces * 4 in length */
struct MCol *mcol;
struct MSticky *msticky;
struct Mesh *texcomesh;
@@ -197,27 +197,6 @@ typedef struct TFace {
#define ME_DRAW_FREESTYLE_EDGE (1 << 14)
#define ME_DRAW_FREESTYLE_FACE (1 << 15)
-/* old global flags:
-#define G_DRAWEDGES (1 << 18)
-#define G_DRAWFACES (1 << 7)
-#define G_DRAWNORMALS (1 << 6)
-#define G_DRAW_VNORMALS (1 << 14)
-
-#define G_ALLEDGES (1 << 11)
-#define G_HIDDENEDGES (1 << 21)
-
-#define G_DRAWCREASES (1 << 19)
-#define G_DRAWSEAMS (1 << 20)
-#define G_DRAWSHARP (1 << 28)
-#define G_DRAWBWEIGHTS (1 << 31)
-
-#define G_DRAW_EDGELEN (1 << 22)
-#define G_DRAW_FACEAREA (1 << 23)
-#define G_DRAW_EDGEANG (1 << 24)
-*/
-
-
-
/* Subsurf Type */
#define ME_CC_SUBSURF 0
#define ME_SIMPLE_SUBSURF 1
@@ -230,6 +209,8 @@ typedef struct TFace {
#define USE_BMESH_SAVE_AS_COMPAT
#define USE_BMESH_SAVE_WITHOUT_MFACE
+/* enable this to calculate mpoly normal layer and face origindex mapping */
+// #define USE_BMESH_MPOLY_NORMALS
/* enable this so meshes get tessfaces calculated by default */
// #define USE_TESSFACE_DEFAULT