0022940: Selection performance: TopAbs_SHELL
authorSAN <>
Wed, 22 Feb 2012 07:56:58 +0000 (07:56 +0000)
committerbugmaster <bugmaster@opencascade.com>
Mon, 5 Mar 2012 15:33:00 +0000 (19:33 +0400)
src/StdSelect/StdSelect_BRepSelectionTool.cxx

index 54fd5df..0175446 100755 (executable)
@@ -219,24 +219,6 @@ void StdSelect_BRepSelectionTool
       break;
     }
     case TopAbs_SHELL:
-    {
-      Handle(Select3D_SensitiveGroup) aSensitiveGroup = new Select3D_SensitiveGroup (theOwner);
-      Select3D_ListOfSensitive aSensitiveList;
-      TopTools_IndexedMapOfShape aSubfacesMap;
-      TopExp::MapShapes (theShape, TopAbs_FACE, aSubfacesMap);
-      for (Standard_Integer aShIndex = 1; aShIndex <= aSubfacesMap.Extent(); ++aShIndex)
-      {
-        GetSensitiveForFace (TopoDS::Face (aSubfacesMap (aShIndex)), theOwner,
-                             aSensitiveList,
-                             isAutoTriangulation, theNbPOnEdge, theMaxParam);
-      }
-      if (!aSensitiveList.IsEmpty())
-      {
-        aSensitiveGroup->Add (aSensitiveList);
-        theSelection->Add (aSensitiveGroup);
-      }
-      break;
-    }
     case TopAbs_SOLID:
     case TopAbs_COMPSOLID:
     {