]> OCCT Git - occt-copy.git/commitdiff
0030497: [REGRESSION] Mesh - wrong Poly_Polygon3D within local selection of located... CR0_DMUReviewer_2_30497
authornds <nds@opencascade.com>
Tue, 19 Feb 2019 10:58:30 +0000 (13:58 +0300)
committernds <nds@opencascade.com>
Tue, 19 Feb 2019 11:11:27 +0000 (14:11 +0300)
(cherry picked from commit ef39d5f7b91a115ac0ec69f86fa1ba73e2395244)

src/IMeshTools/IMeshTools_ShapeExplorer.cxx

index 4df32b0b8ceccd42cd93515fcc1cf6f38116ffb1..c4cad24fed0b18de89b4e3b7be578a55c5f09fed 100644 (file)
@@ -69,7 +69,7 @@ void IMeshTools_ShapeExplorer::Accept (
   // Explore faces
   TopTools_ListOfShape aFaceList;
   BRepLib::ReverseSortFaces (GetShape (), aFaceList);
-  TopTools_MapOfShape aFaceMap;
+  //TopTools_MapOfShape aFaceMap;
 
   // make array of faces suitable for processing (excluding faces without surface)
   TopLoc_Location aDummyLoc;
@@ -77,12 +77,12 @@ void IMeshTools_ShapeExplorer::Accept (
   TopTools_ListIteratorOfListOfShape aFaceIter (aFaceList);
   for (; aFaceIter.More (); aFaceIter.Next ())
   {
-    TopoDS_Shape aFaceNoLoc = aFaceIter.Value ();
-    aFaceNoLoc.Location (aEmptyLoc);
-    if (!aFaceMap.Add(aFaceNoLoc))
-    {
-      continue; // already processed
-    }
+    //TopoDS_Shape aFaceNoLoc = aFaceIter.Value ();
+    //aFaceNoLoc.Location (aEmptyLoc);
+    //if (!aFaceMap.Add(aFaceNoLoc))
+    //{
+    //  continue; // already processed
+    //}
 
     TopoDS_Face aFace = TopoDS::Face (aFaceIter.Value ());
     const Handle (Geom_Surface)& aSurf = BRep_Tool::Surface (aFace, aDummyLoc);