"Add to plate" should be bound to scene content not printer

- Issue MatterHackers/MCCentral#2350
Investigate 12 failing tests
This commit is contained in:
John Lewin 2017-11-30 11:35:10 -08:00
parent 1cdbec96cd
commit fa90083cd4

View file

@ -411,9 +411,7 @@ namespace MatterHackers.MatterControl.PrintLibrary
{
// TODO: Sort out the right way to have an ActivePrinter context that looks and behaves correctly
var activeContext = ApplicationController.Instance.DragDropData;
var printer = activeContext.Printer;
printer.Bed.AddToPlate(selectedLibraryItems);
activeContext.SceneContext.AddToPlate(selectedLibraryItems);
},
IsEnabled = (selectedListItems, listView) =>
{