Added some nullchecks, removed some dead code, and cleaned up a few small things.

This commit is contained in:
Shyotl
2012-11-04 21:16:53 -06:00
parent dca9501de7
commit 71deb8925e
6 changed files with 33 additions and 24 deletions

View File

@@ -5944,8 +5944,6 @@ void LLSelectNode::renderOneWireframe(const LLColor4& color)
gDebugProgram.bind();
}
static LLCachedControl<U32> mode("OutlineMode",0);
gGL.matrixMode(LLRender::MM_MODELVIEW);
gGL.pushMatrix();