[skip ci] line width must be explicitly set in NaviCube and SoFCSelectionRoot to avoid that an inappropriate value is used when set from somewhere else

This commit is contained in:
wmayer
2019-11-10 11:13:10 +01:00
parent 116c868d9e
commit 08b54bb5a0
2 changed files with 5 additions and 3 deletions

View File

@@ -854,6 +854,7 @@ void NaviCubeImplementation::drawNaviCube(bool pickMode) {
glClearDepth(1.0f);
glEnable(GL_DEPTH_TEST);
glDepthFunc(GL_LEQUAL);
glLineWidth(2.0);
glDisable(GL_LIGHTING);
//glDisable(GL_BLEND);