diff options
author | Ton Roosendaal <ton@blender.org> | 2005-03-19 15:17:06 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-03-19 15:17:06 +0300 |
commit | a2ed880c9ff659f7dd488076da3104beac728d4d (patch) | |
tree | 47a6edca99c0bdf9e8387862141f9d11554003cd /source/blender/include/BIF_transform.h | |
parent | a96ed881dc04d0a2ce6ab742f7682042e466b0a7 (diff) |
Transform widgets; Scale and Rotate versions
To use; press the (temporal) icon in header. Switching widget types is by
pressing G, R or S once, if current widget type is different it switches,
otherwise it goes to normal Transform().
Widgets need a bit test for picking accuracy, correct drawing etc.
The rotate widget has a center button for 'trackball' rotate. That latter
can also be used for hotkey-based rotate.
In current code, all widgets remain in "Global" space, also in editmode.
Also widget updates while using normal transform has to be done.
2 Bugfixes:
- rotate in PoseMode had error for 2d 'around' center
- transform in postemode could crash, due to typo (& or |)
Diffstat (limited to 'source/blender/include/BIF_transform.h')
-rwxr-xr-x | source/blender/include/BIF_transform.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/include/BIF_transform.h b/source/blender/include/BIF_transform.h index 7846e4d315d..d6f1db700c9 100755 --- a/source/blender/include/BIF_transform.h +++ b/source/blender/include/BIF_transform.h @@ -33,7 +33,7 @@ #ifndef BIF_TRANSFORM_H #define BIF_TRANSFORM_H -#define NEWTRANSFORM 1 +//#define NEWTRANSFORM 1 /* ******************** Macros & Prototypes *********************** */ @@ -49,6 +49,7 @@ #define TFM_TILT 9 #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 |