From: vsr Date: Tue, 17 Feb 2015 14:24:29 +0000 (+0300) Subject: 0022867: EDF GEOM: Regression with MakeFace X-Git-Tag: V7_6_0a1~43 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7cb44e9fe066f241a213978969631136b29b0300;p=modules%2Fgeom.git 0022867: EDF GEOM: Regression with MakeFace --- diff --git a/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx b/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx index f20160a3c..97073227a 100644 --- a/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_ShapeDriver.cxx @@ -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()) {