Disconnect loaded scene from newly created one

- Issue MatterHackers/MCCentral#4463
Save seems to fails after Part -> Print button has been invoked
This commit is contained in:
John Lewin 2018-11-01 16:47:42 -07:00
parent d73e78c286
commit 53cb371879
2 changed files with 12 additions and 1 deletions

View file

@ -722,7 +722,8 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
// Clear bed to get new MCX on disk for this item
printer.Bed.ClearPlate();
await printer.Bed.LoadContent(sceneContext.EditContext);
// Load current scene into new printer scene
await printer.Bed.LoadIntoCurrent(sceneContext.EditContext);
bool allInBounds = true;
foreach (var item in printer.Bed.Scene.VisibleMeshes())