From 8ee087e4bffd9ab857394034f7dab6ef0826397f Mon Sep 17 00:00:00 2001 From: John Lewin Date: Mon, 26 Nov 2018 14:47:05 -0800 Subject: [PATCH] Always switch to Model view when items are added to bed - Issue MatterHackers/MCCentral#4626 When add item on double click - switch to model view (like drag) --- MatterControlLib/ApplicationView/BedConfig.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MatterControlLib/ApplicationView/BedConfig.cs b/MatterControlLib/ApplicationView/BedConfig.cs index 261b8721f..4dce54fbe 100644 --- a/MatterControlLib/ApplicationView/BedConfig.cs +++ b/MatterControlLib/ApplicationView/BedConfig.cs @@ -192,6 +192,11 @@ namespace MatterHackers.MatterControl public InsertionGroupObject3D AddToPlate(IEnumerable itemsToAdd) { + if (this.Printer?.ViewState.ViewMode != PartViewMode.Model) + { + this.Printer.ViewState.ViewMode = PartViewMode.Model; + } + InsertionGroupObject3D insertionGroup = null; var context = ApplicationController.Instance.DragDropData;