0030687: Visualization - remove redundant interfaces SelectBasics_EntityOwner and...
[occt.git] / src / StdSelect / StdSelect_BRepOwner.cxx
index 2817231..d601d20 100644 (file)
@@ -19,7 +19,7 @@
 #include <Graphic3d_StructureManager.hxx>
 #include <Prs3d_Drawer.hxx>
 #include <PrsMgr_PresentationManager.hxx>
-#include <SelectBasics_EntityOwner.hxx>
+#include <SelectMgr_EntityOwner.hxx>
 #include <SelectMgr_SelectableObject.hxx>
 #include <Standard_Type.hxx>
 #include <StdSelect_Shape.hxx>
@@ -169,16 +169,6 @@ void StdSelect_BRepOwner::SetLocation(const TopLoc_Location& aLoc)
     myPrsSh->SetToUpdate();
 }
 
-void StdSelect_BRepOwner::ResetLocation()
-{
-  SelectMgr_EntityOwner::ResetLocation();
-  // we must not nullify the myPrsSh here, because unhilight method
-  // will be working with wrong entity in this case, the best is to
-  // set the update flag and then recompute myPrsSh on hilighting
-  if (!myPrsSh.IsNull())
-    myPrsSh->SetToUpdate();
-}
-
 //=======================================================================
 //function : UpdateHighlightTrsf
 //purpose  :