Hide selected/hide unselected/show all bones in posemode using the

usual HKEY, shift-HKEY, alt-HKEY, and also through the menu.

Thanks to malefico for the feature request, and thanks to broken
for doing the menu code.
This commit is contained in:
Chris Want
2004-01-03 05:07:31 +00:00
parent d311e96174
commit e090595ec9
4 changed files with 123 additions and 1 deletions

View File

@@ -1047,7 +1047,14 @@ void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
}
else if(G.f & G_FACESELECT)
hide_tface();
else if(G.obpose) {
if (G.qual==0)
hide_selected_pose_bones();
else if (G.qual==LR_SHIFTKEY)
hide_unselected_pose_bones();
else if (G.qual==LR_ALTKEY)
show_all_pose_bones();
}
break;
case IKEY:
break;