0021263: EDF 1868: Several use cases fail (regressions)

Fix MakeSection() problem
This commit is contained in:
vsr 2011-10-20 07:54:50 +00:00
parent 8d3e1257a9
commit e8dadc7a54

View File

@ -373,6 +373,11 @@ Standard_Integer GEOMImpl_BooleanDriver::Execute (TFunction_Logbook& log) const
// we obtain BSpline curve of degree 1 (C0), which is slowly // we obtain BSpline curve of degree 1 (C0), which is slowly
// processed by some algorithms (Partition for example). // processed by some algorithms (Partition for example).
BO.Approximation(Standard_True); BO.Approximation(Standard_True);
//modified by NIZNHY-PKV Tue Oct 18 14:34:16 2011f
BO.ComputePCurveOn1(Standard_True);
BO.ComputePCurveOn2(Standard_True);
//modified by NIZNHY-PKV Tue Oct 18 14:34:18 2011t
BO.Build(); BO.Build();
if (!BO.IsDone()) { if (!BO.IsDone()) {
StdFail_NotDone::Raise("Section operation can not be performed on the given shapes"); StdFail_NotDone::Raise("Section operation can not be performed on the given shapes");