]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #626: Hide iso lines
authorvsv <vitaly.smetannikov@opencascade.com>
Fri, 10 Jul 2015 14:32:19 +0000 (17:32 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Fri, 10 Jul 2015 14:32:19 +0000 (17:32 +0300)
src/XGUI/XGUI_Displayer.cpp

index 8b055e50298e0b30b7f3ec13ed15fdc908caf9f6..b76ded07548661491fc5754202c842f5a0ca74ef 100644 (file)
@@ -37,6 +37,8 @@
 #include <TColStd_ListIteratorOfListOfInteger.hxx>
 #include <SelectMgr_ListOfFilter.hxx>
 #include <SelectMgr_ListIteratorOfListOfFilter.hxx>
+#include <Prs3d_Drawer.hxx>
+#include <Prs3d_IsoAspect.hxx>
 
 #include <StdSelect_ViewerSelector3d.hxx>
 
@@ -646,6 +648,8 @@ Handle(AIS_InteractiveContext) XGUI_Displayer::AISContext() const
   if ((!aContext.IsNull()) && (!aContext->HasOpenedContext())) {
     aContext->OpenLocalContext();
     deactivateTrihedron();
+    aContext->DefaultDrawer()->VIsoAspect()->SetNumber(0);
+    aContext->DefaultDrawer()->UIsoAspect()->SetNumber(0);
   }
   return aContext;
 }