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

@ -50,8 +50,8 @@ namespace MatterHackers.MatterControl.DesignTools.Operations
Sharp,
}
public class InflatePathObject3D : Object3D, IEditorDraw, IObject3DControlsProvider
{
public class InflatePathObject3D : PathObject3D, IEditorDraw, IObject3DControlsProvider
{
public InflatePathObject3D()
{
Name = "Inflate Path".Localize();
@ -135,15 +135,5 @@ namespace MatterHackers.MatterControl.DesignTools.Operations
return joinType;
}
public void DrawEditor(Object3DControlsLayer layer, DrawEventArgs e)
{
this.DrawPath();
}
public AxisAlignedBoundingBox GetEditorWorldspaceAABB(Object3DControlsLayer layer)
{
return this.GetWorldspaceAabbOfDrawPath();
}
}
}