fixing undo

This commit is contained in:
LarsBrubaker 2021-04-16 16:21:27 -07:00
parent 3ef94a47a0
commit b13b3ed056
3 changed files with 41 additions and 39 deletions

View file

@ -190,11 +190,11 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
if (selectedItem is IObjectWithWidthAndDepth widthAndDepth)
{
Object3DControls.Add(new ScaleWidthDepthCornerControl(this, 0));
//Object3DControls.Add(new ScaleWidthDepthEdgeControl(this, 0));
//Object3DControls.Add(new ScaleWidthDepthEdgeControl(this, 1));
//Object3DControls.Add(new ScaleWidthDepthEdgeControl(this, 2));
//Object3DControls.Add(new ScaleWidthDepthEdgeControl(this, 3));
for (int i = 0; i < 4; i++)
{
Object3DControls.Add(new ScaleWidthDepthCornerControl(this, i));
Object3DControls.Add(new ScaleWidthDepthEdgeControl(this, i));
}
}
else
{