fixing more pathing code

This commit is contained in:
Lars Brubaker 2022-08-11 18:37:06 -07:00
parent aadec8b9f5
commit f5c8b2008c
5 changed files with 25 additions and 10 deletions

View file

@ -173,8 +173,6 @@ namespace MatterHackers.MatterControl.DesignTools
[MaxDecimalPlaces(2)]
public double MinSurfaceArea {get; set; } = 1;
public override IVertexSource VertexSource { get; set; } = new VertexStorage();
public void AddObject3DControls(Object3DControlsLayer object3DControlsLayer)
{
object3DControlsLayer.AddControls(ControlTypes.Standard2D);
@ -273,7 +271,7 @@ namespace MatterHackers.MatterControl.DesignTools
affine *= Affine.NewTranslation(-aabb.XSize / 2, -aabb.YSize / 2);
rawVectorShape.transform(affine);
this.VertexSource = rawVectorShape;
this.VertexStorage = rawVectorShape;
progressReporter?.Invoke(1, null);
}