diff --git a/src/Gui/View3DInventorViewer.cpp b/src/Gui/View3DInventorViewer.cpp index 47289e22e6..b3dfa60472 100644 --- a/src/Gui/View3DInventorViewer.cpp +++ b/src/Gui/View3DInventorViewer.cpp @@ -1072,7 +1072,9 @@ void View3DInventorViewer::renderScene(void) for (std::list::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); }