Simplify
This commit is contained in:
parent
a82564b383
commit
b90c082b08
9 changed files with 15 additions and 15 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue