Added passing UndoBuffer to rebuildable

This commit is contained in:
Lars Brubaker 2018-03-08 17:23:03 -08:00
parent 4e41fa6694
commit 9cc6d5f469
43 changed files with 208 additions and 99 deletions

View file

@ -28,6 +28,7 @@ either expressed or implied, of the FreeBSD Project.
*/
using System.Threading;
using MatterHackers.Agg.UI;
using MatterHackers.Agg.VertexSource;
using MatterHackers.DataConverters3D;
using MatterHackers.MatterControl.DesignTools.Operations;
@ -60,7 +61,7 @@ namespace MatterHackers.MatterControl.DesignTools
Alignment = alignment,
};
item.Rebuild();
item.Rebuild(null);
return item;
}
@ -70,7 +71,7 @@ namespace MatterHackers.MatterControl.DesignTools
public double Height { get; set; } = 20;
public int Sides { get; set; } = 30;
public void Rebuild()
public void Rebuild(UndoBuffer undoBuffer)
{
var aabb = this.GetAxisAlignedBoundingBox();