forked from bartvdbraak/blender
Shift+Tab should exit sculptmode (same as for other modes)
This commit is contained in:
parent
ee0dccbf96
commit
4eb3644286
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user