From cec94bdb6afb984f8ff2e62852a8d9dc61f12978 Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 8 May 2013 18:40:20 +0200 Subject: [PATCH] Fix for highlighting of edges --- src/Gui/View3DInventorViewer.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Gui/View3DInventorViewer.cpp b/src/Gui/View3DInventorViewer.cpp index 47289e22e..b3dfa6047 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); }