* Fix problem that edge select hotkey doesn't work on Linux.

Edge select is now _only_ working with ctrl-alt-RMB. Patch provided by
  Roel Spruit (Goofster).
This commit is contained in:
Michel Selten 2003-08-06 12:25:24 +00:00
parent d3e2e5e660
commit cf322b1a9a
2 changed files with 4 additions and 1 deletions

@ -2105,7 +2105,9 @@ void mouse_mesh(void)
{
EditVert *act=0;
if(G.qual & LR_ALTKEY) edge_select();
if(G.qual & LR_ALTKEY) {
if (G.qual & LR_CTRLKEY) edge_select();
}
else {
act= findnearestvert(1);

@ -664,6 +664,7 @@ void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
else if(G.obedit->type==OB_LATTICE) mouse_lattice();
else if(G.obedit->type==OB_ARMATURE) mouse_armature();
}
else if(G.obedit && ((G.qual & LR_CTRLKEY) && (G.qual & LR_ALTKEY))) mouse_mesh();
else if(G.obpose) {
if (G.obpose->type==OB_ARMATURE) mousepose_armature();
}