diff options
author | Martin Poirier <theeth@yahoo.com> | 2005-08-16 22:23:28 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2005-08-16 22:23:28 +0400 |
commit | 392e4b89f5392ab937b9c66340b9e3362a75e794 (patch) | |
tree | cd918edb71230868557629957169b8097b87b764 /source/blender/src/transform.c | |
parent | cf8e8201409408e95c2653fbf085d0669be88b0c (diff) |
Tweak mode
RMB click drag to select and transform (grab). Release to confirm. (Cancel with esc)
The difference with before is that it is a single motion, you don't have to click at the end of transform, you can just release the mouse button.
(Some float constant warning too)
Diffstat (limited to 'source/blender/src/transform.c')
-rwxr-xr-x | source/blender/src/transform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/transform.c b/source/blender/src/transform.c index bcfdf6e1b2b..624808aa85a 100755 --- a/source/blender/src/transform.c +++ b/source/blender/src/transform.c @@ -519,8 +519,8 @@ static void transformEvent(unsigned short event, short val) { break; case LEFTMOUSE: case RIGHTMOUSE: - /* commented out, doesn't work for actions started with menu */ - // Trans.state = TRANS_CONFIRM; + if (Trans.context & CTX_TWEAK) + Trans.state = TRANS_CONFIRM; break; case LEFTSHIFTKEY: case RIGHTSHIFTKEY: |