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)
This commit is contained in:
2005-08-16 18:23:28 +00:00
parent cf8e820140
commit 392e4b89f5
3 changed files with 7 additions and 6 deletions

View File

@@ -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: