Made Print Wrappers track file changes better
Fixed a bug with 3D panel not closing out from editing correctly. Fixed a bug with thumbnails not rebuilding under some update conditions.
This commit is contained in:
parent
a98e29b22e
commit
a82490c70a
7 changed files with 128 additions and 75 deletions
|
|
@ -369,6 +369,10 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
buttonRightPanelHolder.Name = "buttonRightPanelHolder";
|
||||
centerPartPreviewAndControls.AddChild(buttonRightPanelHolder);
|
||||
buttonRightPanelHolder.AddChild(buttonRightPanel);
|
||||
buttonRightPanel.VisibleChanged += (sender, e) =>
|
||||
{
|
||||
buttonRightPanelHolder.Visible = buttonRightPanel.Visible;
|
||||
};
|
||||
|
||||
viewControls3D = new ViewControls3D(meshViewerWidget);
|
||||
|
||||
|
|
@ -1869,7 +1873,6 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
|
||||
MeshOutputSettings outputInfo = new MeshOutputSettings(MeshOutputSettings.OutputType.Binary, metaData);
|
||||
MeshFileIo.Save(asynchMeshGroups, printItemWrapper.FileLocation, outputInfo);
|
||||
printItemWrapper.OnFileHasChanged();
|
||||
|
||||
if (returnInfo != null
|
||||
&& returnInfo.destinationLibraryProvider != null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue