diff options
author | Martin Poirier <theeth@yahoo.com> | 2005-05-02 06:18:13 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2005-05-02 06:18:13 +0400 |
commit | 61f2736ec36154f5832c11ae5d018e6eaf89a3b2 (patch) | |
tree | ae4c589272b3065c36134a976496bc9b793e15dc /source/blender/include | |
parent | 01a053f98975665d65a608a396fe2d6eedb2f454 (diff) |
Local axis constraint external call. Had to do it in a very hackish way which highlight a design problem in the code. To solve it (and would solve other problems too), we'd have to split off the initialisation function. Not terribly hard to do but I'm overwhelmed with work...
Push/Pull had a problem with constraints enabling/disabling. Fixed
Restablished infinite line for constraint draw (when not using manipulator) as discussed in meeting.
Diffstat (limited to 'source/blender/include')
-rwxr-xr-x | source/blender/include/BIF_transform.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/include/BIF_transform.h b/source/blender/include/BIF_transform.h index 6450d8c80a8..1557f87d039 100755 --- a/source/blender/include/BIF_transform.h +++ b/source/blender/include/BIF_transform.h @@ -56,6 +56,7 @@ #define CTX_EDGE 2 #define CTX_NO_PET 4 #define CTX_NO_NOR_RECALC 8 +#define CTX_SETLOCALCONST 16 /* TRANSFORM PROPORTIONAL FALLOFF MODES */ #define PROP_SHARP 0 @@ -74,6 +75,8 @@ struct ScrArea; struct TransInfo * BIF_GetTransInfo(void); void BIF_setSingleAxisConstraint(float vec[3], char *text); void BIF_setDualAxisConstraint(float vec1[3], float vec2[3], char *text); +void BIF_setLocalAxisConstraint(char axis, char *text); +void BIF_setLocalLockConstraint(char axis, char *text); void BIF_drawConstraint(void); void BIF_drawPropCircle(void); |