]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
small modification
authorrnc <rnc@opencascade.com>
Mon, 5 Mar 2012 16:05:34 +0000 (16:05 +0000)
committerrnc <rnc@opencascade.com>
Mon, 5 Mar 2012 16:05:34 +0000 (16:05 +0000)
src/GEOMImpl/GEOMImpl_PrismDriver.cxx

index 535d030a2b6fec959014587d45667518b07229cc..40e7c054d559a3ded8a58e5488f7abf6635002f5 100644 (file)
@@ -485,6 +485,7 @@ TopoDS_Shape GEOMImpl_PrismDriver::MakeDraftPrism ( const TopoDS_Shape& theInitS
                               anAngle*PI180, isProtrusion, Standard_True); 
     
     aPrism.Perform(aHeight);
+    aPrism.Check();          // Raises NotDone if done is false
     
     aShape = aPrism.Shape();