diff options
author | Martin Poirier <theeth@yahoo.com> | 2005-03-28 01:25:15 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2005-03-28 01:25:15 +0400 |
commit | 05685e6ca7da4c74c93c84f343bc99dcf7bbb8c2 (patch) | |
tree | 27f192f34f78b40f8600b143fb2fcab461180747 /source/blender/include/BIF_transform.h | |
parent | 35aa81cd2cb3cc91a06295834ecc928f49dca490 (diff) |
Context parameter for Transform.
For tex space edit, crease (soon) and future use.
Manipulator assumes no context.
Diffstat (limited to 'source/blender/include/BIF_transform.h')
-rwxr-xr-x | source/blender/include/BIF_transform.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/source/blender/include/BIF_transform.h b/source/blender/include/BIF_transform.h index 6f1c0506e8e..431202e2882 100755 --- a/source/blender/include/BIF_transform.h +++ b/source/blender/include/BIF_transform.h @@ -49,20 +49,19 @@ #define TFM_LAMP_ENERGY 10 #define TFM_TRACKBALL 11 - // not sure if adding modes is the right way... context detecting could be done different (ton) -#define TFM_TEX 32 -#define TFM_TEX_TRANSLATION 33 -#define TFM_TEX_ROTATION 34 -#define TFM_TEX_RESIZE 35 - +/* TRANSFORM CONTEXTS */ +#define CTX_NONE 0 +#define CTX_TEXTURE 1 +#define CTX_EDGE 2 +/* TRANSFORM PROPORTIONAL FALLOFF MODES */ #define PROP_SHARP 0 #define PROP_SMOOTH 1 #define PROP_ROOT 2 #define PROP_LIN 3 #define PROP_CONST 4 -void Transform(int mode); +void Transform(int mode, int context); struct TransInfo; |