Included a patch by Pablo Marrol! selecting with ALT+CTRL combos
didnt check if there was actually a Mesh in editmode.
This commit is contained in:
Ton Roosendaal 2005-10-24 19:22:04 +00:00
parent 050dcad59c
commit 066b0b1c7d

@ -939,9 +939,9 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
else if(G.obedit->type==OB_ARMATURE) else if(G.obedit->type==OB_ARMATURE)
mouse_armature(); mouse_armature();
} }
else if((G.obedit) && (G.qual == (LR_CTRLKEY|LR_ALTKEY))) else if((G.obedit && G.obedit->type==OB_MESH) && (G.qual == (LR_CTRLKEY|LR_ALTKEY)))
mouse_mesh(); // loop select for 1 mousebutton dudes mouse_mesh(); // loop select for 1 mousebutton dudes
else if((G.obedit) && (G.qual == (LR_CTRLKEY|LR_ALTKEY|LR_SHIFTKEY))) else if((G.obedit && G.obedit->type==OB_MESH) && (G.qual == (LR_CTRLKEY|LR_ALTKEY|LR_SHIFTKEY)))
mouse_mesh(); // loop select for 1 mousebutton dudes mouse_mesh(); // loop select for 1 mousebutton dudes
else if(G.qual==LR_CTRLKEY) else if(G.qual==LR_CTRLKEY)
mouse_select(); // also allow in editmode, for vertex parenting mouse_select(); // also allow in editmode, for vertex parenting