Revision: 23470
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23470
Author:   aligorith
Date:     2009-09-25 03:43:34 +0200 (Fri, 25 Sep 2009)

Log Message:
-----------
Quick tweaks to commonly debated mesh-editing hotkeys:

* Loopcut is now just Ctrl-R. 
The preview will be activated when you do this, and you can just click to 
confirm as in 2.4x and also like when this was activated from the toolshelf. 
This is less error prone than having to click at the same time as picking the 
loop as with the previous hotkey.

* Knife is now just: hold k-key and lmb click+drag to draw a cut line and cut 
the mesh.
This is more direct than the (rather arcane) Ctrl-X-LMB-drag, and is quite 
similar to what's done for Grease Pencil now.

Modified Paths:
--------------
    trunk/blender/source/blender/editors/mesh/mesh_ops.c

Modified: trunk/blender/source/blender/editors/mesh/mesh_ops.c
===================================================================
--- trunk/blender/source/blender/editors/mesh/mesh_ops.c        2009-09-25 
01:30:32 UTC (rev 23469)
+++ trunk/blender/source/blender/editors/mesh/mesh_ops.c        2009-09-25 
01:43:34 UTC (rev 23470)
@@ -356,7 +356,7 @@
        keymap= WM_keymap_find(wm, "EditMesh", 0, 0);
        keymap->poll= ED_operator_editmesh;
        
-       WM_keymap_add_item(keymap, "MESH_OT_loopcut", ACTIONMOUSE, KM_PRESS, 
KM_CTRL, RKEY);
+       WM_keymap_add_item(keymap, "MESH_OT_loopcut", RKEY, KM_PRESS, KM_CTRL, 
0);
 
        /* selecting */
        /* standard mouse selection goes via space_view3d */
@@ -438,7 +438,7 @@
        WM_keymap_add_item(keymap, "MESH_OT_fgon_make", FKEY, KM_PRESS, KM_ALT, 
0);
        WM_keymap_add_item(keymap, "MESH_OT_fgon_clear", FKEY, KM_PRESS, 
KM_SHIFT|KM_ALT, 0);
        
-       WM_keymap_add_item(keymap, "MESH_OT_knife_cut", LEFTMOUSE, KM_PRESS, 
KM_CTRL, XKEY);
+       WM_keymap_add_item(keymap, "MESH_OT_knife_cut", LEFTMOUSE, KM_PRESS, 0, 
KKEY);
 
        /* menus */
        WM_keymap_add_item(keymap, "MESH_OT_vertex_specials", VKEY, KM_PRESS, 
KM_CTRL, 0);


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to