Fix for highlighting of edges

This commit is contained in:
wmayer
2013-05-08 18:40:20 +02:00
parent a9f5c120e8
commit 32af128d4c

View File

@@ -1072,7 +1072,9 @@ void View3DInventorViewer::renderScene(void)
for (std::list<GLGraphicsItem*>::iterator it = this->graphicsItems.begin(); it != this->graphicsItems.end(); ++it)
(*it)->paintGL();
#if 0 // this breaks highlighting of edges
glEnable(GL_LIGHTING);
#endif
glEnable(GL_DEPTH_TEST);
}