Correcting the logic of the hotkey modifiers for select
non-manifold. If you want it so all three modifiers are needed (e.g. ctrl-alt-shift-MKEY) use: if ( !(~G.qual & (LR_SHIFTKEY | LR_ALTKEY | LR_CTRLKEY)) ) instead of if ( G.qual & (LR_SHIFTKEY | LR_ALTKEY | LR_CTRLKEY) ) (which really allows any modifier, alone or in combination, to work).
This commit is contained in:
@@ -1354,7 +1354,8 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
|
||||
else if((G.qual==0) || (G.qual==LR_CTRLKEY)) {
|
||||
mirrormenu();
|
||||
}
|
||||
if(G.qual & (LR_SHIFTKEY | LR_ALTKEY | LR_CTRLKEY)) {
|
||||
if ( !(~G.qual &
|
||||
(LR_SHIFTKEY | LR_ALTKEY | LR_CTRLKEY)) ) {
|
||||
if(G.obedit->type==OB_MESH) select_non_manifold();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user