fixing tests
This commit is contained in:
parent
a165f08d8a
commit
ffc7c8f038
5 changed files with 39 additions and 9 deletions
|
|
@ -698,8 +698,10 @@ namespace MatterHackers.MatterControl
|
|||
reporter?.Invoke(0.91, (loading != null) ? loading : "OnLoadActions");
|
||||
applicationController.OnLoadActions();
|
||||
|
||||
// Wired up to MainView.Load with the intent to fire startup actions and tasks in order with reporting
|
||||
async void InitialWindowLoad(object s, EventArgs e)
|
||||
SingleWindowProvider.SetWindowTheme(applicationController.Theme);
|
||||
|
||||
// Wired up to MainView.Load with the intent to fire startup actions and tasks in order with reporting
|
||||
async void InitialWindowLoad(object s, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
|
|||
|
|
@ -228,7 +228,14 @@ namespace MatterHackers.MatterControl
|
|||
{
|
||||
if (moveToOpenPosition)
|
||||
{
|
||||
PlatingHelper.MoveToOpenPositionRelativeGroup(item, itemsToAvoid);
|
||||
if (itemsToAvoid.Count() == 0)
|
||||
{
|
||||
PlatingHelper.PlaceOnBed(item);
|
||||
}
|
||||
else
|
||||
{
|
||||
PlatingHelper.MoveToOpenPositionRelativeGroup(item, itemsToAvoid);
|
||||
}
|
||||
}
|
||||
},
|
||||
addUndoCheckPoint: addUndoCheckPoint));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue