This commit is contained in:
John Lewin 2019-01-24 16:51:07 -08:00
parent a82564b383
commit b90c082b08
9 changed files with 15 additions and 15 deletions

View file

@ -84,7 +84,7 @@ namespace MatterHackers.MatterControl.DesignTools
{
newContainer.Children.Add(child.Clone());
}
undoBuffer.AddAndDo(new ReplaceCommand(new List<IObject3D> { this }, new List<IObject3D> { newContainer }));
undoBuffer.AddAndDo(new ReplaceCommand(new[] { this }, new[] { newContainer }));
}
public override async void OnInvalidate(InvalidateArgs invalidateType)