Discard GCodeFileIsComplete logic

This commit is contained in:
John Lewin 2017-06-30 12:22:24 -07:00
parent 50957e856b
commit 7fdae3bfe5
3 changed files with 8 additions and 45 deletions

View file

@ -239,7 +239,6 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
if (File.Exists(printItem.FileLocation))
{
string gcodePathAndFileName = printItem.GetGCodePathAndFileName();
bool gcodeFileIsComplete = printItem.IsGCodeFileComplete(gcodePathAndFileName);
if (printItem.SlicingHadError)
{
@ -250,7 +249,7 @@ namespace MatterHackers.MatterControl.PartPreviewWindow
firstProcessingMessage = pressGenerateMessage;
}
if (File.Exists(gcodePathAndFileName) && gcodeFileIsComplete)
if (File.Exists(gcodePathAndFileName))
{
gcodeDisplayWidget.AddChild(CreateGCodeViewWidget(gcodePathAndFileName));
}