0023654: Problem with displaying vertices in OCC view after closing all OCC views...
[occt.git] / src / PrsMgr / PrsMgr_PresentationManager.cxx
index 170a883..26a0fa7 100755 (executable)
@@ -66,6 +66,12 @@ void PrsMgr_PresentationManager::Clear(const Handle(PrsMgr_PresentableObject)& a
       Presentation(aPresentableObject,aMode)->Clear();}
 }
 
+void PrsMgr_PresentationManager::SetVisibility (const Handle(PrsMgr_PresentableObject)& thePresentableObject,
+                                                const Standard_Integer theMode,
+                                                const Standard_Boolean theValue)
+{
+  Presentation(thePresentableObject, theMode)->SetVisible (theValue);
+}
 
 void PrsMgr_PresentationManager::Highlight(
     const Handle(PrsMgr_PresentableObject)& aPresentableObject,