]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0022867: EDF GEOM: Regression with MakeFace
authorvsr <vsr@opencascade.com>
Tue, 17 Feb 2015 14:24:29 +0000 (17:24 +0300)
committervsr <vsr@opencascade.com>
Tue, 17 Feb 2015 14:24:29 +0000 (17:24 +0300)
src/GEOMImpl/GEOMImpl_ShapeDriver.cxx

index f20160a3c70efc24ec86804deab8398108e250e4..97073227a4013ff4b03c5c92af4f0a0a949b3083 100644 (file)
@@ -175,7 +175,7 @@ Standard_Integer GEOMImpl_ShapeDriver::Execute(TFunction_Logbook& log) const
         Standard_NullObject::Raise
           ("Shape for face construction is not closed");
     }
-    else if (aShapeBase.ShapeType() == TopAbs_EDGE && aShapeBase.Closed()) {
+    else if (aShapeBase.ShapeType() == TopAbs_EDGE && BRep_Tool::IsClosed(aShapeBase)) {
       BRepBuilderAPI_MakeWire MW;
       MW.Add(TopoDS::Edge(aShapeBase));
       if (!MW.IsDone()) {