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.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h
index abfa3cc1b2e..a0baf0ed905 100644
--- a/source/blender/makesdna/DNA_mesh_types.h
+++ b/source/blender/makesdna/DNA_mesh_types.h
@@ -221,7 +221,9 @@ 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
@@ -265,7 +267,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 +322,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