]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
(roll back) 020604: EDF 1172 GEOM : Result of boolean operations is null compound
authordmv <dmv@opencascade.com>
Thu, 3 Jun 2010 11:59:17 +0000 (11:59 +0000)
committerdmv <dmv@opencascade.com>
Thu, 3 Jun 2010 11:59:17 +0000 (11:59 +0000)
src/GEOMImpl/GEOMImpl_BooleanDriver.cxx

index 63dbbb42ce21a88d77a8b93e66f0542bf08b5b6b..d311b0dcec72ca420b10ac2454487947cc151cc4 100644 (file)
@@ -438,13 +438,14 @@ Standard_Integer GEOMImpl_BooleanDriver::Execute(TFunction_Logbook& log) const
   //}
 
   //Alternative case to check shape result Mantis 0020604: EDF 1172
-  TopoDS_Iterator It (aShape, Standard_True, Standard_True);
+/*  TopoDS_Iterator It (aShape, Standard_True, Standard_True);
   int nbSubshapes=0;
   for (; It.More(); It.Next())
     nbSubshapes++;
   if (!nbSubshapes)
-    Standard_ConstructionError::Raise("Boolean operation aborted : result object is empty compound");
+    Standard_ConstructionError::Raise("Boolean operation aborted : result object is empty compound");*/
   //end of 0020604: EDF 1172
+  //! the changes temporary commented because of customer needs (see the same mantis bug)
 
   aFunction->SetValue(aShape);