]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0021263: EDF 1868: Several use cases fail (regressions)
authorvsr <vsr@opencascade.com>
Thu, 20 Oct 2011 07:54:50 +0000 (07:54 +0000)
committervsr <vsr@opencascade.com>
Thu, 20 Oct 2011 07:54:50 +0000 (07:54 +0000)
Fix MakeSection() problem

src/GEOMImpl/GEOMImpl_BooleanDriver.cxx

index 1c025ce3365aac60eb7a9d9e79979d55037b249c..5c2c96882eb412d7dfc76f1bd1a2468a5d5f736b 100644 (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
           // processed by some algorithms (Partition for example).
           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();
           if (!BO.IsDone()) {
             StdFail_NotDone::Raise("Section operation can not be performed on the given shapes");