From: vsv Date: Fri, 3 Apr 2015 08:32:09 +0000 (+0300) Subject: Set shaded shapes with edges X-Git-Tag: V_1.1.0~57^2~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=78ee446845e5a8bc55d81c8384be03fb924312ea;p=modules%2Fshaper.git Set shaded shapes with edges --- diff --git a/src/XGUI/XGUI_Displayer.cpp b/src/XGUI/XGUI_Displayer.cpp index fef7ed06d..fe6382c4b 100644 --- a/src/XGUI/XGUI_Displayer.cpp +++ b/src/XGUI/XGUI_Displayer.cpp @@ -159,6 +159,8 @@ void XGUI_Displayer::display(ObjectPtr theObject, AISObjectPtr theAIS, } aContext->Display(anAISIO, false); aContext->SetDisplayMode(anAISIO, isShading? Shading : Wireframe, false); + if (isShading) + anAISIO->Attributes()->SetFaceBoundaryDraw( Standard_True ); emit objectDisplayed(theObject, theAIS); bool isCustomized = customizeObject(theObject);