Added passing UndoBuffer to rebuildable
This commit is contained in:
parent
4e41fa6694
commit
9cc6d5f469
43 changed files with 208 additions and 99 deletions
|
|
@ -29,6 +29,7 @@ either expressed or implied, of the FreeBSD Project.
|
|||
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using MatterHackers.Agg.UI;
|
||||
using MatterHackers.Agg.VertexSource;
|
||||
using MatterHackers.DataConverters3D;
|
||||
using MatterHackers.VectorMath;
|
||||
|
|
@ -47,7 +48,7 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
{
|
||||
var item = new SphereObject3D();
|
||||
|
||||
item.Rebuild();
|
||||
item.Rebuild(null);
|
||||
return item;
|
||||
}
|
||||
|
||||
|
|
@ -55,7 +56,7 @@ namespace MatterHackers.MatterControl.DesignTools
|
|||
[DisplayName("Sides")]
|
||||
public int Sides { get; set; } = 30;
|
||||
|
||||
public void Rebuild()
|
||||
public void Rebuild(UndoBuffer undoBuffer)
|
||||
{
|
||||
var aabb = this.GetAxisAlignedBoundingBox();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue