Moved array and combine objects to new source pattern

reverted align object to only align children
have new combine 2 object to preserve old files
This commit is contained in:
Lars Brubaker 2019-01-25 16:46:23 -08:00
parent 57b94fd7a4
commit 564e5e7bf1
11 changed files with 253 additions and 115 deletions

View file

@ -82,10 +82,8 @@ namespace MatterHackers.MatterControl.DesignTools.Operations
public override async Task Rebuild()
{
//let the Operation Source base rebuild first
await base.Rebuild();
var rebuildLock = this.RebuildLock();
SourceContainer.Visible = true;
await ApplicationController.Instance.Tasks.Execute(
"Advanced Array".Localize(),
@ -123,6 +121,7 @@ namespace MatterHackers.MatterControl.DesignTools.Operations
lastChild = next;
}
});
SourceContainer.Visible = false;
rebuildLock.Dispose();
return Task.CompletedTask;
});