-> Keybindings for hiding objects

Small feature, added keybindings for setting the visibility restriction flags
that were previously only accesible via the outliner

HKEY 		Hides all selected
SHIFT-HKEY 	Hides all unselected
ALT-HKEY 	Shows all hidden
This commit is contained in:
2007-04-19 19:47:51 +00:00
parent 238ab04297
commit f5a40315ca
3 changed files with 42 additions and 2 deletions

View File

@@ -1924,8 +1924,13 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
hide_unselected_pose_bones();
else if (G.qual==LR_ALTKEY)
show_all_pose_bones();
} else {
hookmenu();
}
else {
if(G.qual==LR_CTRLKEY)hookmenu();
else if(G.qual==LR_ALTKEY) show_objects();
else if(G.qual==LR_SHIFTKEY) hide_objects(0);
else hide_objects(1);
}
break;
case IKEY: