Always hide GCode2D when switching to model view
- Issue MatterHackers/MCCentral#2289 Can't switch from 2D Gcode view to 3D Model view
This commit is contained in:
parent
16030a497c
commit
27f77731a4
1 changed files with 4 additions and 0 deletions
|
|
@ -235,6 +235,10 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
|
|||
break;
|
||||
|
||||
case PartViewMode.Model:
|
||||
if (gcode2DWidget != null)
|
||||
{
|
||||
gcode2DWidget.Visible = false;
|
||||
}
|
||||
this.ShowSliceLayers = false;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue