From fa90083cd4b2a33d89708da1bb26f2a33ff1664f Mon Sep 17 00:00:00 2001 From: John Lewin Date: Thu, 30 Nov 2017 11:35:10 -0800 Subject: [PATCH] "Add to plate" should be bound to scene content not printer - Issue MatterHackers/MCCentral#2350 Investigate 12 failing tests --- Library/Widgets/PrintLibraryWidget.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Library/Widgets/PrintLibraryWidget.cs b/Library/Widgets/PrintLibraryWidget.cs index 5bfa67180..e04dbe1a6 100644 --- a/Library/Widgets/PrintLibraryWidget.cs +++ b/Library/Widgets/PrintLibraryWidget.cs @@ -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) => {