Salome HOME
Small improvement of the previous fix (for bug 10627) to avoid regressions.
authorjfa <jfa@opencascade.com>
Wed, 30 Nov 2005 08:57:30 +0000 (08:57 +0000)
committerjfa <jfa@opencascade.com>
Wed, 30 Nov 2005 08:57:30 +0000 (08:57 +0000)
src/GEOMImpl/GEOMImpl_ShapeDriver.cxx

index 227b76d4fadce3e7c9395db4ad6d8e919d997fe6..418ecbc3a2fef49036e41b4863eecf2e2feb866a 100644 (file)
@@ -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();