Rename type for consistency

This commit is contained in:
John Lewin 2017-10-30 08:20:13 -07:00
parent 23c4f14b14
commit 93853d90cd
3 changed files with 5 additions and 5 deletions

View file

@ -408,7 +408,7 @@
<SubType>Code</SubType>
</Compile>
<Compile Include="ControlElements\MHTextEditWidget.cs" />
<Compile Include="PartPreviewWindow\ViewGcodeBasic.cs" />
<Compile Include="PartPreviewWindow\GCode3DWidget.cs" />
<Compile Include="Queue\OptionsMenu\PartsSheetCreator.cs" />
<Compile Include="Utilities\WebUtilities\JsonResponseDictionary.cs" />
<Compile Include="PrinterCommunication\PrinterConnection.cs" />

View file

@ -35,14 +35,14 @@ using MatterHackers.MatterControl.SlicerConfiguration;
namespace MatterHackers.MatterControl.PartPreviewWindow
{
public class ViewGcodeBasic : GuiWidget
public class GCode3DWidget : GuiWidget
{
private EventHandler unregisterEvents;
private BedConfig sceneContext;
private ThemeConfig theme;
public ViewGcodeBasic(PrinterConfig printer, BedConfig sceneContext, ThemeConfig theme)
public GCode3DWidget(PrinterConfig printer, BedConfig sceneContext, ThemeConfig theme)
{
this.sceneContext = sceneContext;
this.theme = theme;

View file

@ -93,7 +93,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
public TrackballTumbleWidget TrackballTumbleWidget { get; }
internal ViewGcodeBasic gcodeViewer;
internal GCode3DWidget gcodeViewer;
public InteractionLayer InteractionLayer { get; }
@ -146,7 +146,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
this.InteractionLayer.AddChild(meshViewerWidget);
// The slice layers view
gcodeViewer = new ViewGcodeBasic(printer, sceneContext, theme);
gcodeViewer = new GCode3DWidget(printer, sceneContext, theme);
gcodeViewer.Name = "ViewGcodeBasic";
gcodeViewer.AnchorAll();
gcodeViewer.Visible = false;