From: SAN <> Date: Wed, 22 Feb 2012 07:56:58 +0000 (+0000) Subject: 0022940: Selection performance: TopAbs_SHELL X-Git-Tag: V6_5_3_beta1~75 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=7339789994e8f4e3b4f8417d6a7307c79949efe0;p=occt-copy.git 0022940: Selection performance: TopAbs_SHELL --- diff --git a/src/StdSelect/StdSelect_BRepSelectionTool.cxx b/src/StdSelect/StdSelect_BRepSelectionTool.cxx index 54fd5df33a..01754461dd 100755 --- a/src/StdSelect/StdSelect_BRepSelectionTool.cxx +++ b/src/StdSelect/StdSelect_BRepSelectionTool.cxx @@ -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: {