Made vertex clear work for selected faces from the menu, to be the same as Shift+K.

Also makde Shift+K work in weightpaint mode.
This commit is contained in:
2006-02-27 12:34:53 +00:00
parent e48af6f10b
commit 534ee9e190
4 changed files with 108 additions and 8 deletions

View File

@@ -1467,7 +1467,10 @@ static void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
else {
if((G.qual==LR_SHIFTKEY)) {
if(G.f & G_FACESELECT)
clear_vpaint_selectedfaces();
if (G.f & G_WEIGHTPAINT)
clear_wpaint_selectedfaces();
else
clear_vpaint_selectedfaces();
else if(G.f & G_VERTEXPAINT)
clear_vpaint();
else