diff --git a/src/Mod/Fem/Gui/ViewProviderFemPostObject.cpp b/src/Mod/Fem/Gui/ViewProviderFemPostObject.cpp index a4160070a0..572741a803 100644 --- a/src/Mod/Fem/Gui/ViewProviderFemPostObject.cpp +++ b/src/Mod/Fem/Gui/ViewProviderFemPostObject.cpp @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include @@ -175,7 +176,7 @@ ViewProviderFemPostObject::ViewProviderFemPostObject() "Object Style", App::Prop_None, "Use plain color for edges on surface."); - ADD_PROPERTY_TYPE(LineWidth, (2), "Object Style", App::Prop_None, "Set wireframe line width."); + ADD_PROPERTY_TYPE(LineWidth, (1), "Object Style", App::Prop_None, "Set wireframe line width."); ADD_PROPERTY_TYPE(PointSize, (3), "Object Style", App::Prop_None, "Set node point size."); @@ -305,12 +306,14 @@ void ViewProviderFemPostObject::attach(App::DocumentObject* pcObj) m_sepMarkerLine->addChild(m_lines); // face nodes + SoPolygonOffset* offset = new SoPolygonOffset(); m_separator->addChild(m_shapeHints); m_separator->addChild(m_materialBinding); m_separator->addChild(m_material); m_separator->addChild(m_coordinates); - m_separator->addChild(m_faces); m_separator->addChild(m_sepMarkerLine); + m_separator->addChild(offset); + m_separator->addChild(m_faces); // Check for an already existing color bar Gui::SoFCColorBar* pcBar =