From 57ff8d1b8a67388de55f47cc0aa0a692bcaf14a7 Mon Sep 17 00:00:00 2001 From: Thomas Oberbichler Date: Sat, 27 Mar 2021 11:16:04 +0100 Subject: [PATCH] Undo --- Bowerbird/Curvature/Pathfinder.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Bowerbird/Curvature/Pathfinder.cs b/Bowerbird/Curvature/Pathfinder.cs index 2dce620..0d5485f 100644 --- a/Bowerbird/Curvature/Pathfinder.cs +++ b/Bowerbird/Curvature/Pathfinder.cs @@ -117,10 +117,6 @@ public static List Create(Path path, BrepFace face, Vector2d uv, boo if (points.Count == 1) AddTask(tasks, adjacentFace, boundary.AdjacentUV, endLocation, -endDirection); - // closed loop - if (breakpoints[0].DistanceTo(endLocation) < loopTolerance) - return new List { new Pathfinder(face, parameters, points)}; - breakpoints.Add(endLocation); }