Merge pull request #4023 from jlewin/master

Always switch to Model view when items are added to bed
This commit is contained in:
johnlewin 2018-11-26 15:40:27 -08:00 committed by GitHub
commit 38e8fd84fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -192,6 +192,11 @@ namespace MatterHackers.MatterControl
public InsertionGroupObject3D AddToPlate(IEnumerable<ILibraryItem> itemsToAdd)
{
if (this.Printer?.ViewState.ViewMode != PartViewMode.Model)
{
this.Printer.ViewState.ViewMode = PartViewMode.Model;
}
InsertionGroupObject3D insertionGroup = null;
var context = ApplicationController.Instance.DragDropData;