diff --git a/src/Gui/NaviCube.cpp b/src/Gui/NaviCube.cpp index 72216a629e..2b156189ca 100644 --- a/src/Gui/NaviCube.cpp +++ b/src/Gui/NaviCube.cpp @@ -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); diff --git a/src/Gui/SoFCUnifiedSelection.cpp b/src/Gui/SoFCUnifiedSelection.cpp index 3ad2a6e556..b3b3098f38 100644 --- a/src/Gui/SoFCUnifiedSelection.cpp +++ b/src/Gui/SoFCUnifiedSelection.cpp @@ -32,7 +32,6 @@ #include #include #include -#include #include #include @@ -45,6 +44,7 @@ #include #include #include +#include #include #include #include @@ -1231,8 +1231,9 @@ bool SoFCSelectionRoot::renderBBox(SoGLRenderAction *action, SoNode *node, SbCol SoMaterialBindingElement::set(state,SoMaterialBindingElement::OVERALL); SoLazyElement::setEmissive(state, &color); - SoLazyElement::setDiffuse(state, node,1, &color,data->packer); - SoDrawStyleElement::set(state,node,SoDrawStyleElement::LINES); + SoLazyElement::setDiffuse(state, node,1, &color, data->packer); + SoDrawStyleElement::set(state, node, SoDrawStyleElement::LINES); + SoLineWidthElement::set(state, node, 1.0f); const static float trans = 0.0; SoLazyElement::setTransparency(state, node, 1, &trans, data->packer);