mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-13 18:20:35 +05:00
0023331: EDF 13477 - Problem with Fuse. Avoid application crush.
This commit is contained in:
parent
8422ddce7f
commit
08869a9687
@ -665,9 +665,10 @@ TopoDS_Shape BlockFix_UnionFaces::Perform(const TopoDS_Shape& Shape)
|
|||||||
}
|
}
|
||||||
sawo.Add(c2d->Value(f).XY(),c2d->Value(l).XY());
|
sawo.Add(c2d->Value(f).XY(),c2d->Value(l).XY());
|
||||||
}
|
}
|
||||||
|
if (aLastEdge > 0) {
|
||||||
sawo.Perform();
|
sawo.Perform();
|
||||||
|
|
||||||
// constructind one degenerative edge
|
// constructing one degenerative edge
|
||||||
gp_XY aStart, anEnd, tmp;
|
gp_XY aStart, anEnd, tmp;
|
||||||
Standard_Integer nbFirst = sawo.Ordered(1);
|
Standard_Integer nbFirst = sawo.Ordered(1);
|
||||||
TopoDS_Edge anOrigE = TopoDS::Edge(sbwd->Edge(nbFirst).Oriented(TopAbs_FORWARD));
|
TopoDS_Edge anOrigE = TopoDS::Edge(sbwd->Edge(nbFirst).Oriented(TopAbs_FORWARD));
|
||||||
@ -691,6 +692,7 @@ TopoDS_Shape BlockFix_UnionFaces::Perform(const TopoDS_Shape& Shape)
|
|||||||
B.Add(aResult,aW);
|
B.Add(aResult,aW);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// perform substitution of face
|
// perform substitution of face
|
||||||
aContext->Replace(aContext->Apply(aFace),aResult);
|
aContext->Replace(aContext->Apply(aFace),aResult);
|
||||||
|
Loading…
Reference in New Issue
Block a user