- Entity names are now drawn for group entities in Doom3 and Quake 3 mode (namespace)

- Fixed translucent brushes becoming invisible when selected (Shaderman)

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@123 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
namespace
2006-12-08 19:52:48 +00:00
parent 7174c79dc2
commit 0a9ca16033
7 changed files with 49 additions and 17 deletions

View File

@@ -2387,7 +2387,11 @@ 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;
state.m_sort = OpenGLState::eSortHighlight;
// 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_depthfunc = GL_LEQUAL;
}
else if(string_equal(name+1, "CAM_OVERLAY"))