From 9add5c2083773cca119fac6f0ba5f703a9711d7e Mon Sep 17 00:00:00 2001 From: jfa Date: Thu, 14 Apr 2011 14:17:07 +0000 Subject: [PATCH] IMP 0021064: correct implementation --- src/GEOMImpl/GEOMImpl_ShapeDriver.cxx | 2 +- src/GEOM_SWIG/geompyDC.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx b/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx index f4e9fb3ec..8845b064d 100644 --- a/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx @@ -889,7 +889,7 @@ Standard_Integer GEOMImpl_ShapeDriver::Execute(TFunction_Logbook& log) const // Check shape validity BRepCheck_Analyzer ana (aShape, false); if (!ana.IsValid()) { - //Standard_ConstructionError::Raise("Algorithm have produced an invalid shape result"); + Standard_ConstructionError::Raise("Algorithm have produced an invalid shape result"); } aFunction->SetValue(aShape); diff --git a/src/GEOM_SWIG/geompyDC.py b/src/GEOM_SWIG/geompyDC.py index dc2d6a86f..e8625a9f4 100644 --- a/src/GEOM_SWIG/geompyDC.py +++ b/src/GEOM_SWIG/geompyDC.py @@ -1661,7 +1661,7 @@ class geompyDC(GEOM._objref_GEOM_Gen): # Example: see GEOM_TestAll.py theLength, Parameters = ParseParameters(theLength) anObj = self.ShapesOp.MakeEdgeOnCurveByLength(theRefCurve, theLength, theStartPoint) - RaiseIfFailed("MakeEdgeOnCurveByLength", self.BasicOp) + RaiseIfFailed("MakeEdgeOnCurveByLength", self.ShapesOp) anObj.SetParameters(Parameters) return anObj -- 2.39.2