diff --git a/MatterControlLib/DesignTools/SupportGenerator.cs b/MatterControlLib/DesignTools/SupportGenerator.cs index b92cbb87a..2c758e221 100644 --- a/MatterControlLib/DesignTools/SupportGenerator.cs +++ b/MatterControlLib/DesignTools/SupportGenerator.cs @@ -131,7 +131,7 @@ namespace MatterHackers.MatterControl.DesignTools } } - public static ITraceable CreateTraceData(FaceList faceList, List vertexList, int maxRecursion = int.MaxValue) + public static ITraceable CreateTraceData(FaceList faceList, List vertexList, BvhCreationOptions bvhCreationOptions = BvhCreationOptions.FavorFastTracing) { var allPolys = new List(); @@ -140,7 +140,7 @@ namespace MatterHackers.MatterControl.DesignTools allPolys.Add(new TriangleShape(vertexList[face.v0], vertexList[face.v1], vertexList[face.v2], null)); } - return BoundingVolumeHierarchy.CreateNewHierachy(allPolys, maxRecursion); + return BoundingVolumeHierarchy.CreateNewHierachy(allPolys, bvhCreationOptions); } public Task Create(IProgress progress, CancellationToken cancellationToken) diff --git a/Submodules/agg-sharp b/Submodules/agg-sharp index 0d19f0300..95008e620 160000 --- a/Submodules/agg-sharp +++ b/Submodules/agg-sharp @@ -1 +1 @@ -Subproject commit 0d19f03006c3716dad9c0b3677ff0c64969dfa85 +Subproject commit 95008e620632d616736d75932c2fe0a0d78e1621