mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0031066: Infinite loop in ShapeUpgrade_UnifySameDomain
Modification in local static method TransformPCurves - compute real U And V bounds of a face and use them in further computations.
This commit is contained in:
@@ -601,7 +601,7 @@ static void TransformPCurves(const TopoDS_Face& theRefFace,
|
||||
const TopoDS_Face& theFace,
|
||||
TopTools_MapOfShape& theMapEdgesWithTemporaryPCurves)
|
||||
{
|
||||
BRepAdaptor_Surface BAsurf(theFace, Standard_False);
|
||||
BRepAdaptor_Surface BAsurf(theFace, Standard_True); //with real bounds of face
|
||||
|
||||
Standard_Real Uperiod = 0., Vperiod = 0.;
|
||||
Handle(Geom_Surface) RefSurf = BRep_Tool::Surface(theRefFace);
|
||||
|
Reference in New Issue
Block a user