diff options
author | Martin Poirier <theeth@yahoo.com> | 2008-01-24 23:11:54 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2008-01-24 23:11:54 +0300 |
commit | 450b3664e1592a2b17491b6b229d8e6808ac8ee4 (patch) | |
tree | 0221c0ecb87fe50a26fd72c7beead633957bacd2 /source/blender/include | |
parent | 9c02ca37d62a3c86bef1e72330246795ca1bce72 (diff) |
=== Mirror Tool ===
Making the mirror tool axis selection interactive instead of using a popmenu.
Mirror is now just a constant -1 scaling transform, which enables you to choose the mirror axis through hotkeys (x,y,z) and with MMB. It also means it's easier to select the correct axis if you're not sure which is which and gives access to all the orientation supported in transform (including custom user orientations).
Mesh and Object header menus still have the individual axis as options but have an added "Interactive Mirror" which just enters transform and lets user pick the axis there. Ctrl-M enters "Interactive Mirror" too.
In a nutshell, this changes adds more possible mirroring axis and unifies the mirror axis selection process with transform constraint axis selection.
Diffstat (limited to 'source/blender/include')
-rw-r--r-- | source/blender/include/BIF_transform.h | 2 | ||||
-rw-r--r-- | source/blender/include/transform.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/include/BIF_transform.h b/source/blender/include/BIF_transform.h index c8e2a4832ab..a0f991f2631 100644 --- a/source/blender/include/BIF_transform.h +++ b/source/blender/include/BIF_transform.h @@ -68,10 +68,10 @@ #define CTX_NO_PET 4 #define CTX_TWEAK 8 #define CTX_NO_MIRROR 16 +#define CTX_AUTOCONFIRM 32 void initTransform(int mode, int context); void Transform(void); -void Mirror(short mode); /* Standalone call to get the transformation center corresponding to the current situation * returns 1 if successful, 0 otherwise (usually means there's no selection) diff --git a/source/blender/include/transform.h b/source/blender/include/transform.h index 30b9bbf3f51..48e840a7128 100644 --- a/source/blender/include/transform.h +++ b/source/blender/include/transform.h @@ -363,6 +363,9 @@ int TimeScale(TransInfo *t, short mval[2]); void initBakeTime(TransInfo *t); int BakeTime(TransInfo *t, short mval[2]); +void initMirror(TransInfo *t); +int Mirror(TransInfo *t, short mval[2]); + /*********************** transform_conversions.c ********** */ struct ListBase; void flushTransIpoData(TransInfo *t); |