mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 09:20:35 +05:00
0022867: EDF GEOM: Regression with MakeFace
This commit is contained in:
parent
f1efea0146
commit
7cb44e9fe0
@ -175,7 +175,7 @@ Standard_Integer GEOMImpl_ShapeDriver::Execute(TFunction_Logbook& log) const
|
|||||||
Standard_NullObject::Raise
|
Standard_NullObject::Raise
|
||||||
("Shape for face construction is not closed");
|
("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;
|
BRepBuilderAPI_MakeWire MW;
|
||||||
MW.Add(TopoDS::Edge(aShapeBase));
|
MW.Add(TopoDS::Edge(aShapeBase));
|
||||||
if (!MW.IsDone()) {
|
if (!MW.IsDone()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user