From 78ee446845e5a8bc55d81c8384be03fb924312ea Mon Sep 17 00:00:00 2001 From: vsv Date: Fri, 3 Apr 2015 11:32:09 +0300 Subject: [PATCH] Set shaded shapes with edges --- src/XGUI/XGUI_Displayer.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.39.2