added a glDisable(GL_DEPTH_TEST); before the UI drawing because face select and wp mode were drawing mesh data over the UI.

This commit is contained in:
Campbell Barton 2006-05-02 07:55:26 +00:00
parent 35b8dac2ca
commit c3c0c38ad0

@ -2318,7 +2318,11 @@ static void view3d_blockhandlers(ScrArea *sa)
/* warning; blocks need to be freed each time, handlers dont remove */
uiFreeBlocksWin(&sa->uiblocks, sa->win);
/*uv face-sel and wp mode when mixed with wire leave depth enabled causing
models to draw over the UI */
glDisable(GL_DEPTH_TEST);
for(a=0; a<SPACE_MAXHANDLER; a+=2) {
switch(v3d->blockhandler[a]) {