Skip to content

Commit

Permalink
#432 code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
MajaLindroth authored and Fraser Greenroyd committed Mar 25, 2020
1 parent 6f86fe5 commit b649de1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions XML_Adapter/Serialise/Opening.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ public partial class GBXMLSerializer

if (openingArea >= panelArea)
{
if (openingPoly == null) continue;

openingPoly = BH.Engine.Geometry.Modify.Offset(openingPoly, settings.OffsetDistance);

if (openingPoly == null) continue;
gbOpening.PlanarGeometry.PolyLoop = openingPoly.ToGBXML();
}

Expand Down

0 comments on commit b649de1

Please sign in to comment.