]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
PAL8395: Fix pb. with bug2extraEdges.py
authorjfa <jfa@opencascade.com>
Tue, 22 Mar 2005 09:16:47 +0000 (09:16 +0000)
committerjfa <jfa@opencascade.com>
Tue, 22 Mar 2005 09:16:47 +0000 (09:16 +0000)
src/GEOMAlgo/BlockFix.cxx

index be4d48f62daa93dae76ed6d243cc1dc906d5d58b..aadc176bb4e75597d4e7089223cf41e8014ef1b8 100644 (file)
@@ -60,8 +60,8 @@ static void FixResult(const TopoDS_Shape& result,
     TopLoc_Location L;
     Handle(Geom_Surface) Surf = BRep_Tool::Surface(aFace,L);
     
-    if (Surf->IsKind(STANDARD_TYPE(Geom_SphericalSurface)) ||
-        Surf->IsKind(STANDARD_TYPE(Geom_CylindricalSurface))) {
+    ifSurf->IsKind(STANDARD_TYPE(Geom_SphericalSurface)) ||
+        Surf->IsKind(STANDARD_TYPE(Geom_CylindricalSurface)) ) {
     
       Standard_Integer nbWires = 0;
       for (TopExp_Explorer ex_w(aFace,TopAbs_WIRE); ex_w.More(); ex_w.Next()) {
@@ -92,7 +92,7 @@ static void FixResult(const TopoDS_Shape& result,
           }
         }
         
-        isDone |= sfw->FixLacking();
+        //isDone |= sfw->FixLacking(); // commented by skl 22.03.2005 (PAL8395)
         
         // remove neighbour seam edges 
         if(isDone) {