Make sure we clear the add parts list after we add it.

This commit is contained in:
Lars Brubaker 2016-01-07 12:41:36 -08:00
parent 5ce0c8e73d
commit b6105b4642
2 changed files with 2 additions and 0 deletions

View file

@ -116,6 +116,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
else if (pendingPartsToLoad.Count > 0)
{
LoadAndAddPartsToPlate(pendingPartsToLoad.ToArray());
pendingPartsToLoad.Clear();
}
else
{

View file

@ -601,6 +601,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
else
{
LoadAndAddPartsToPlate(pendingPartsToLoad.ToArray());
pendingPartsToLoad.Clear();
}
}
}