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>2009-10-14 18:28:05 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-10-14 18:28:05 +0400
commit4ef0ef19276209480ec9ad9acbafff1e45a21e82 (patch)
treeea58237cc1aeb6fa53e77bcc200756c721bfeebd /source/blender/makesdna/DNA_mesh_types.h
parent1847f6198e50118e8e6541dfcb351dda40802511 (diff)
added mesh mirror flag, now store this per mesh
button in mesh interface also dont register operators that change context
Diffstat (limited to 'source/blender/makesdna/DNA_mesh_types.h')
-rw-r--r--source/blender/makesdna/DNA_mesh_types.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_mesh_types.h b/source/blender/makesdna/DNA_mesh_types.h
index f7f1d3b53bd..0f4dbaa8218 100644
--- a/source/blender/makesdna/DNA_mesh_types.h
+++ b/source/blender/makesdna/DNA_mesh_types.h
@@ -82,7 +82,7 @@ typedef struct Mesh {
* the face does not need to be selected, -1 is inactive */
int act_face;
- int texflag;
+ short texflag, editflag;
/* texture space, copied as one block in editobject.c */
float loc[3];
@@ -116,6 +116,11 @@ typedef struct TFace {
/* texflag */
#define AUTOSPACE 1
+/* me->editflag */
+#define ME_EDIT_MIRROR_X (1 << 0)
+#define ME_EDIT_MIRROR_Y (1 << 1) // unused so far
+#define ME_EDIT_MIRROR_Z (1 << 2) // unused so far
+
/* me->flag */
#define ME_ISDONE 1
#define ME_NOPUNOFLIP 2