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:
Diffstat (limited to 'source/blender/makesdna/DNA_mesh_types.h')
-rw-r--r--source/blender/makesdna/DNA_mesh_types.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h
index abfa3cc1b2e..a822a6723fa 100644
--- a/source/blender/makesdna/DNA_mesh_types.h
+++ b/source/blender/makesdna/DNA_mesh_types.h
@@ -44,11 +44,10 @@ struct MLoopCol;
struct MLoopTri;
struct MLoopUV;
struct MPoly;
-struct MVert;
struct MPropCol;
+struct MVert;
struct Material;
struct Mesh;
-struct Multires;
struct SubdivCCG;
#
@@ -221,16 +220,15 @@ typedef struct Mesh {
float remesh_voxel_adaptivity;
char remesh_mode;
- char _pad1[3];
+ char symmetry;
+
+ char _pad1[2];
int face_sets_color_seed;
/* Stores the initial Face Set to be rendered white. This way the overlay can be enabled by
* default and Face Sets can be used without affecting the color of the mesh. */
int face_sets_color_default;
- /** Deprecated multiresolution modeling data, only keep for loading old files. */
- struct Multires *mr DNA_DEPRECATED;
-
Mesh_Runtime runtime;
} Mesh;
@@ -265,7 +263,7 @@ enum {
/* me->editflag */
enum {
- ME_EDIT_MIRROR_X = 1 << 0,
+ ME_EDIT_VERTEX_GROUPS_X_SYMMETRY = 1 << 0,
ME_EDIT_MIRROR_Y = 1 << 1, /* unused so far */
ME_EDIT_MIRROR_Z = 1 << 2, /* unused so far */
@@ -320,6 +318,13 @@ enum {
ME_SIMPLE_SUBSURF = 1,
};
+/* me->symmetry */
+typedef enum eMeshSymmetryType {
+ ME_SYMMETRY_X = 1 << 0,
+ ME_SYMMETRY_Y = 1 << 1,
+ ME_SYMMETRY_Z = 1 << 2,
+} eMeshSymmetryType;
+
#define MESH_MAX_VERTS 2000000000L
#ifdef __cplusplus