Small improvement of the previous fix (for bug 10627) to avoid regressions.

This commit is contained in:
jfa 2005-11-30 08:57:30 +00:00
parent f4c6ee73a9
commit 10781d15d3

View File

@ -112,7 +112,9 @@ Standard_Integer GEOMImpl_ShapeDriver::Execute(TFunction_Logbook& log) const
Standard_ConstructionError::Raise("Wire construction failed: some gaps detected"); Standard_ConstructionError::Raise("Wire construction failed: some gaps detected");
} else { } else {
} }
aShape = aFW->Wire(); aShape = aFW->WireAPIMake();
if (aShape.IsNull())
Standard_ConstructionError::Raise("Wire construction failed");
} else if (aType == FACE_WIRE) { } else if (aType == FACE_WIRE) {
Handle(GEOM_Function) aRefBase = aCI.GetBase(); Handle(GEOM_Function) aRefBase = aCI.GetBase();