Cleaning up

This commit is contained in:
MatterHackers 2023-11-29 08:32:46 -08:00
parent d9d20774e8
commit a22301101d
5 changed files with 32 additions and 21 deletions

View file

@ -55,7 +55,7 @@ using Polygons = System.Collections.Generic.List<System.Collections.Generic.List
namespace MatterHackers.MatterControl.DesignTools
{
[Obsolete("Use ImageToPathObject3D_2 instead", false)]
public class ImageToPathObject3D : Object3D, IEditorDraw, IObject3DControlsProvider
public class ImageToPathObject3D : PathObject3D, IEditorDraw, IObject3DControlsProvider
{
private ThresholdFunctions _featureDetector = ThresholdFunctions.Silhouette;
@ -217,6 +217,8 @@ namespace MatterHackers.MatterControl.DesignTools
public override bool CanApply => true;
public override bool MeshIsSolidObject => false;
public override void Apply(UndoBuffer undoBuffer)
{
this.FlattenToPathObject(undoBuffer);