Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Poirier <theeth@yahoo.com>2005-08-16 22:23:28 +0400
committerMartin Poirier <theeth@yahoo.com>2005-08-16 22:23:28 +0400
commit392e4b89f5392ab937b9c66340b9e3362a75e794 (patch)
treecd918edb71230868557629957169b8097b87b764 /source/blender/src/transform.c
parentcf8e8201409408e95c2653fbf085d0669be88b0c (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-xsource/blender/src/transform.c4
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: