Skip to content

Commit

Permalink
Update src/common/tiglcommonfunctions.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
joergbrech authored Sep 2, 2024
1 parent 4b29d5e commit 571a2ef
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/common/tiglcommonfunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1321,8 +1321,7 @@ TopoDS_Wire BuildWireRectangle(const double heightToWidthRatio, const double cor
}

TopoDS_Wire wire;
if(!curve.IsNull())
{
if (!curve.IsNull()) {
wire = BuildWireFromEdges(BRepBuilderAPI_MakeEdge(curve).Edge());
}
return wire;
Expand Down

0 comments on commit 571a2ef

Please sign in to comment.