From: jfa Date: Wed, 30 Nov 2005 08:57:30 +0000 (+0000) Subject: Small improvement of the previous fix (for bug 10627) to avoid regressions. X-Git-Tag: BR_3_1_0_deb~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=10781d15d3ddb4627492197b1bdb3b3042cdef28;p=modules%2Fgeom.git Small improvement of the previous fix (for bug 10627) to avoid regressions. --- diff --git a/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx b/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx index 227b76d4f..418ecbc3a 100644 --- a/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx @@ -112,7 +112,9 @@ Standard_Integer GEOMImpl_ShapeDriver::Execute(TFunction_Logbook& log) const Standard_ConstructionError::Raise("Wire construction failed: some gaps detected"); } else { } - aShape = aFW->Wire(); + aShape = aFW->WireAPIMake(); + if (aShape.IsNull()) + Standard_ConstructionError::Raise("Wire construction failed"); } else if (aType == FACE_WIRE) { Handle(GEOM_Function) aRefBase = aCI.GetBase();