From 10781d15d3ddb4627492197b1bdb3b3042cdef28 Mon Sep 17 00:00:00 2001 From: jfa Date: Wed, 30 Nov 2005 08:57:30 +0000 Subject: [PATCH] Small improvement of the previous fix (for bug 10627) to avoid regressions. --- src/GEOMImpl/GEOMImpl_ShapeDriver.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(); -- 2.39.2