From f34ebd2e721f66272a337844875072b8365eec7b Mon Sep 17 00:00:00 2001 From: mmcpt <88245513+mmcpt@users.noreply.github.com> Date: Sat, 31 Jul 2021 17:06:14 +0100 Subject: [PATCH] Update Util.cs --- BuildingCoder/BuildingCoder/Util.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BuildingCoder/BuildingCoder/Util.cs b/BuildingCoder/BuildingCoder/Util.cs index 505c8ae..6b7f057 100644 --- a/BuildingCoder/BuildingCoder/Util.cs +++ b/BuildingCoder/BuildingCoder/Util.cs @@ -846,7 +846,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; }