Shift+Tab should exit sculptmode (same as for other modes)

This commit is contained in:
Nicholas Bishop 2006-12-06 02:28:15 +00:00
parent ee0dccbf96
commit 4eb3644286
2 changed files with 3 additions and 2 deletions

@ -1738,10 +1738,9 @@ void set_sculptmode()
glEnableClientState(GL_VERTEX_ARRAY); glEnableClientState(GL_VERTEX_ARRAY);
glEnableClientState(GL_NORMAL_ARRAY); glEnableClientState(GL_NORMAL_ARRAY);
allqueue(REDRAWVIEW3D,0);
} }
allqueue(REDRAWVIEW3D, 1);
allqueue(REDRAWBUTSEDIT, 0); allqueue(REDRAWBUTSEDIT, 0);
} }

@ -694,6 +694,8 @@ int blenderqread(unsigned short event, short val)
set_texturepaint(); set_texturepaint();
if(G.f & G_WEIGHTPAINT) if(G.f & G_WEIGHTPAINT)
set_wpaint(); set_wpaint();
if(G.f & G_SCULPTMODE)
set_sculptmode();
} }
break; break;