From 10b5ab0b26fadc8c05a25e04a123609a0be4b5ad Mon Sep 17 00:00:00 2001 From: namespace Date: Sun, 4 Mar 2007 13:51:10 +0000 Subject: [PATCH] - Reverted Q3 translucency fix since it randomly made brushes fully transparent in Doom3 mode. git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@148 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- CHANGES | 5 +++++ radiant/renderstate.cpp | 6 +----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGES b/CHANGES index 76f32548..7a75f3d7 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,11 @@ This is the changelog for developers, != changelog for the end user that we distribute with the binaries. (see changelog) +04/03/2007 +namespace +- Reverted Q3 translucency fix since it randomly made brushes + fully transparent in Doom3 mode. + 04/03/2007 namespace - Final update for installerfiles (Shaderman / namespace) diff --git a/radiant/renderstate.cpp b/radiant/renderstate.cpp index db71b226..2f5596d1 100644 --- a/radiant/renderstate.cpp +++ b/radiant/renderstate.cpp @@ -2387,11 +2387,7 @@ void OpenGLShader::construct(const char* name) state.m_colour[2] = 0; state.m_colour[3] = 0.3f; state.m_state = RENDER_FILL|RENDER_DEPTHTEST|RENDER_CULLFACE|RENDER_BLEND|RENDER_COLOURWRITE|RENDER_DEPTHWRITE; - - // The bug "Selecting translucent brushes, such as clip, cause them to disappear leaving - // only the red selection box." seems to be fixed by removing the next line. - - // state.m_sort = OpenGLState::eSortHighlight; + state.m_sort = OpenGLState::eSortHighlight; state.m_depthfunc = GL_LEQUAL; } else if(string_equal(name+1, "CAM_OVERLAY")) -- 2.39.2