improve primary operations

This commit is contained in:
MatterHackers 2023-03-11 10:56:32 -08:00
parent 3f8eeda65b
commit 0416a941d7
14 changed files with 83 additions and 121 deletions

View file

@ -44,7 +44,7 @@ using Polygons = System.Collections.Generic.List<System.Collections.Generic.List
namespace MatterHackers.MatterControl.DesignTools.Operations
{
public class SmoothPathObject3D : Object3D, IEditorDraw, IObject3DControlsProvider
public class SmoothPathObject3D : PathObject3D, IEditorDraw, IObject3DControlsProvider
{
public SmoothPathObject3D()
{
@ -178,15 +178,5 @@ namespace MatterHackers.MatterControl.DesignTools.Operations
VertexStorage = outputPolygons.CreateVertexStorage();
}
public void DrawEditor(Object3DControlsLayer layer, DrawEventArgs e)
{
this.DrawPath();
}
public AxisAlignedBoundingBox GetEditorWorldspaceAABB(Object3DControlsLayer layer)
{
return this.GetWorldspaceAabbOfDrawPath();
}
}
}