]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Set shaded shapes with edges
authorvsv <vitaly.smetannikov@opencascade.com>
Fri, 3 Apr 2015 08:32:09 +0000 (11:32 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Fri, 3 Apr 2015 08:32:09 +0000 (11:32 +0300)
src/XGUI/XGUI_Displayer.cpp

index fef7ed06d1b89a2dfc55d4633ae5ca2ff9bc5446..fe6382c4bf634a1e873bfd91bfd7b5af50a7bddc 100644 (file)
@@ -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);