diff options
author | Ton Roosendaal <ton@blender.org> | 2009-01-28 18:39:39 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2009-01-28 18:39:39 +0300 |
commit | 8006134a9c8c40102375f0c1da317c197df0de75 (patch) | |
tree | bcbc9eb363d75bb32e9840fb1bb1b4b0e5641e0f /source/blender/editors/transform/transform.h | |
parent | 3f0616447172747ca55b3113d99067be59387c38 (diff) |
2.5
Made 'select-tweak-grab' work in 3d window, fcurve and nodes.
For nodes it works with both left/right, the others follow
user preset for select.
Tweak is a WM event, which also follows user preset for
tablet-style tweaks (release = apply).
You enable tweak events with an operator WM_OT_tweak_gesture.
Keymap entries can assign to left/middle/right button or to
action/select button tweaks.
Diffstat (limited to 'source/blender/editors/transform/transform.h')
-rw-r--r-- | source/blender/editors/transform/transform.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform.h b/source/blender/editors/transform/transform.h index c3696da757c..89f31c18338 100644 --- a/source/blender/editors/transform/transform.h +++ b/source/blender/editors/transform/transform.h @@ -218,6 +218,7 @@ typedef struct TransInfo { float center[3]; /* center of transformation */ int center2d[2]; /* center in screen coordinates */ short imval[2]; /* initial mouse position */ + short event_type; /* event->type used to invoke transform */ short idx_max; /* maximum index on the input vector */ float snap[3]; /* Snapping Gears */ char frame_side; /* Mouse side of the cfra, 'L', 'R' or 'B' */ |