]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #1933:Set auxiliary presentation style
authorvsv <vitaly.smetannikov@opencascade.com>
Wed, 28 Dec 2016 15:01:07 +0000 (18:01 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Wed, 28 Dec 2016 15:01:21 +0000 (18:01 +0300)
src/PartSet/PartSet_ResultSketchPrs.cpp

index c78304904b488306456ea82547f433983ce17736..6b562be08137f2cc6fc54d67c987494c20c999bc 100755 (executable)
@@ -233,6 +233,8 @@ void PartSet_ResultSketchPrs::setAuxiliaryPresentationStyle(const bool isAuxilia
   if (isChangedLineType) {
     Handle(Prs3d_LineAspect) aAspect = new Prs3d_LineAspect(aCurrentColor, aType, aCurrentWidth);
     aDrawer->SetLineAspect(aAspect);
+    aDrawer->SetWireAspect(aAspect);
+    SetAttributes(aDrawer);
   }
 }