In Vertex Select Mode
authorJohnny Matthews <johnny.matthews@gmail.com>
Tue, 26 Jul 2005 14:09:46 +0000 (14:09 +0000)
committerJohnny Matthews <johnny.matthews@gmail.com>
Tue, 26 Jul 2005 14:09:46 +0000 (14:09 +0000)
CTRL-Alt-RMB = Faceloop Select

source/blender/src/editmesh_mods.c

index 0f0d131793ae05de60bdc0c76cc989b7871bb514..4623d171f55a5ae7f0c3da8cc53349313851dfa5 100644 (file)
@@ -1069,7 +1069,10 @@ static void mouse_mesh_loop(void)
                        edgeloop_select(eed, eed->f & SELECT);
                }
         else if(G.scene->selectmode & SCE_SELECT_VERTEX) {
-            edgeloop_select(eed, eed->f & SELECT);
+            if(G.qual == (LR_CTRLKEY | LR_ALTKEY) || G.qual == (LR_CTRLKEY | LR_ALTKEY |LR_SHIFTKEY))
+                       edgering_select(eed, eed->f & SELECT);
+            else if(G.qual & LR_ALTKEY)
+                       edgeloop_select(eed, eed->f & SELECT);
                }
 
                /* frontbuffer draw of last selected only */