X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_ResultPrs.cpp;h=5fb170087ad61bfb8dd7d0603edb859ba8d49f5a;hb=e0e1c61c3fe1242a12f16d354e6b17fae1804e90;hp=fceb96c2f220183bf26cad71b7f4e30b22d56194;hpb=84ead44e0b92006689ac4d24aa9825fcfc0d1381;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_ResultPrs.cpp b/src/ModuleBase/ModuleBase_ResultPrs.cpp index fceb96c2f..5fb170087 100644 --- a/src/ModuleBase/ModuleBase_ResultPrs.cpp +++ b/src/ModuleBase/ModuleBase_ResultPrs.cpp @@ -98,8 +98,6 @@ ModuleBase_ResultPrs::ModuleBase_ResultPrs(ResultPtr theResult) aDrawer->SetUIsoAspect(myUIsoAspect); aDrawer->SetVIsoAspect(myVIsoAspect); - aDrawer->SetIsoOnPlane(false); - if (aDrawer->HasOwnPointAspect()) aDrawer->PointAspect()->SetTypeOfMarker(Aspect_TOM_PLUS); else @@ -109,17 +107,11 @@ ModuleBase_ResultPrs::ModuleBase_ResultPrs(ResultPtr theResult) if (aDrawer.IsNull()) { if (!ModuleBase_IViewer::DefaultHighlightDrawer.IsNull()) { aDrawer = new Prs3d_Drawer(*ModuleBase_IViewer::DefaultHighlightDrawer); - Handle(Prs3d_IsoAspect) aUIsoAspect = new Prs3d_IsoAspect(aColor, Aspect_TOL_SOLID, 1, 0); - Handle(Prs3d_IsoAspect) aVIsoAspect = new Prs3d_IsoAspect(aColor, Aspect_TOL_SOLID, 1, 0); - aDrawer->SetUIsoAspect(aUIsoAspect); - aDrawer->SetVIsoAspect(aVIsoAspect); + aDrawer->SetUIsoAspect(myUIsoAspect); + aDrawer->SetVIsoAspect(myVIsoAspect); SetDynamicHilightAttributes(aDrawer); } - } else { - aDrawer->VIsoAspect()->SetNumber(0); - aDrawer->UIsoAspect()->SetNumber(0); } - aDrawer->SetIsoOnPlane(false); myHiddenSubShapesDrawer = new AIS_ColoredDrawer(myDrawer); Handle(Prs3d_ShadingAspect) aShadingAspect = new Prs3d_ShadingAspect();