PAL8395: Fix pb. with bug2extraEdges.py

This commit is contained in:
jfa 2005-03-22 09:16:47 +00:00
parent b28777dc10
commit 15ffc0f2df

View File

@ -60,8 +60,8 @@ static void FixResult(const TopoDS_Shape& result,
TopLoc_Location L; TopLoc_Location L;
Handle(Geom_Surface) Surf = BRep_Tool::Surface(aFace,L); Handle(Geom_Surface) Surf = BRep_Tool::Surface(aFace,L);
if (Surf->IsKind(STANDARD_TYPE(Geom_SphericalSurface)) || if( Surf->IsKind(STANDARD_TYPE(Geom_SphericalSurface)) ||
Surf->IsKind(STANDARD_TYPE(Geom_CylindricalSurface))) { Surf->IsKind(STANDARD_TYPE(Geom_CylindricalSurface)) ) {
Standard_Integer nbWires = 0; Standard_Integer nbWires = 0;
for (TopExp_Explorer ex_w(aFace,TopAbs_WIRE); ex_w.More(); ex_w.Next()) { 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 // remove neighbour seam edges
if(isDone) { if(isDone) {