diff --git a/src/TBmeshWin.cc b/src/TBmeshWin.cc index 223c44c02b673d0ff0ffe02f533b6d2c2123b1d5..ef98418a5906ba6f69198fd133e0620ddf754017 100644 --- a/src/TBmeshWin.cc +++ b/src/TBmeshWin.cc @@ -453,9 +453,10 @@ TBmeshWin::draw_surface(Surfaces* sf, GLfloat *&vbobuf, bool wf ) glPolygonMode( GL_FRONT_AND_BACK, GL_FILL ); - bool on_tr = ( showData && dopac_on ) || - ( !showData && s_colour[3]<OPAQUE_LIMIT ) || - ( showData && !dopac_on && s_colour[3]<OPAQUE_LIMIT); + bool on_tr = ( showData && dopac_on ) || + ( !showData && s_colour[3]<OPAQUE_LIMIT ) || + ( showData && !dopac_on && s_colour[3]<OPAQUE_LIMIT) || + ( cs->deadRange() && cs->deadColour()[3]<OPAQUE_LIMIT) ; if( on_tr ) translucency(true); sf->zsort( context(), stride, on_tr );