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:
authorBen Batt <benbatt@gmail.com>2007-04-29 18:00:30 +0400
committerBen Batt <benbatt@gmail.com>2007-04-29 18:00:30 +0400
commitf62f07734f1f0042bf4afc12cbf0676654d20b8a (patch)
treeca05b1c2dea0cdc7d4e96c04d8242247a6083d97 /source/blender/makesdna
parent99135b0674830528eaed3067c40905af8e4557a9 (diff)
Patch #5629 - Mirror modifier axis' to be toggleable
This patch makes the X, Y and Z axes of the mirror modifier individually toggleable, so it is possible to mirror in more than one direction with a single modifier. Thanks to Juho Vepsäläinen (bebraw) for the patch! NOTE: BLENDER_SUBVERSION has been incremented to support translation from old to new axis specification.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_modifier_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h
index 278e04c3f44..836cf171643 100644
--- a/source/blender/makesdna/DNA_modifier_types.h
+++ b/source/blender/makesdna/DNA_modifier_types.h
@@ -162,6 +162,9 @@ typedef struct MirrorModifierData {
#define MOD_MIR_CLIPPING 1<<0
#define MOD_MIR_MIRROR_U 1<<1
#define MOD_MIR_MIRROR_V 1<<2
+#define MOD_MIR_AXIS_X 1<<3
+#define MOD_MIR_AXIS_Y 1<<4
+#define MOD_MIR_AXIS_Z 1<<5
typedef struct EdgeSplitModifierData {
ModifierData modifier;