Remove DragDropData dependency, add UndoBuffer

- Issue MatterHackers/MCCentral#5060
On startup, item is selected but not showing correct editor
This commit is contained in:
John Lewin 2019-03-07 17:56:41 -08:00
parent e7f3baed3f
commit 7ae2b6f87c
5 changed files with 9 additions and 22 deletions

View file

@ -49,7 +49,6 @@ namespace MatterHackers.MatterControl.Library
{
public class OpenSCADBuilder : IObject3DEditor
{
private View3DWidget view3DWidget;
private OpenScadObject3D item;
public string Name => "Builder";
@ -86,7 +85,7 @@ namespace MatterHackers.MatterControl.Library
return dictionary;
}
public GuiWidget Create(IObject3D object3D, ThemeConfig theme)
public GuiWidget Create(IObject3D object3D, UndoBuffer undoBuffer, ThemeConfig theme)
{
this.item = object3D as OpenScadObject3D;