Added passing UndoBuffer to rebuildable
This commit is contained in:
parent
4e41fa6694
commit
9cc6d5f469
43 changed files with 208 additions and 99 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue