From 7cb44e9fe066f241a213978969631136b29b0300 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 17 Feb 2015 17:24:29 +0300 Subject: [PATCH] 0022867: EDF GEOM: Regression with MakeFace --- src/GEOMImpl/GEOMImpl_ShapeDriver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) { -- 2.39.2