Discard GCodeFileIsComplete logic
This commit is contained in:
parent
50957e856b
commit
7fdae3bfe5
3 changed files with 8 additions and 45 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue