diff --git a/BuildingCoder/BuildingCoder/Util.cs b/BuildingCoder/BuildingCoder/Util.cs index ca3675c..98530c1 100644 --- a/BuildingCoder/BuildingCoder/Util.cs +++ b/BuildingCoder/BuildingCoder/Util.cs @@ -859,7 +859,7 @@ public static CurveLoop CreateCurveLoop( pts[ i - 1 ], pts[ i ] ) ); } curveLoop.Append( Line.CreateBound( - pts[ n ], pts[ 0 ] ) ); + pts[ n - 1 ], pts[ 0 ] ) ); return curveLoop; }