taking out the hash code from print item.
This commit is contained in:
parent
d82b26af7f
commit
399c7fcb54
2 changed files with 1 additions and 11 deletions
|
|
@ -189,8 +189,6 @@ namespace MatterHackers.MatterControl.DataStorage
|
|||
|
||||
public string FileLocation { get; set; }
|
||||
|
||||
public long FileHashCode { get; set; }
|
||||
|
||||
public DateTime DateAdded { get; set; }
|
||||
|
||||
public int PrintCount { get; set; }
|
||||
|
|
|
|||
|
|
@ -188,7 +188,7 @@ namespace MatterHackers.MatterControl.PrintQueue
|
|||
readData[i] = fileSizeAsBytes[i];
|
||||
}
|
||||
|
||||
// push the file size into the first bytes
|
||||
// push the wirte time
|
||||
byte[] writeTimeAsBytes = BitConverter.GetBytes(currentWriteTime);
|
||||
for (int i = 0; i < writeTimeAsBytes.Length; i++)
|
||||
{
|
||||
|
|
@ -204,14 +204,6 @@ namespace MatterHackers.MatterControl.PrintQueue
|
|||
this.fileHashCode = 0;
|
||||
}
|
||||
|
||||
if (PrintItem != null
|
||||
&& PrintItem.FileHashCode != this.fileHashCode)
|
||||
{
|
||||
PrintItem.FileHashCode = this.fileHashCode;
|
||||
PrintItem.Commit();
|
||||
}
|
||||
|
||||
|
||||
return this.fileHashCode;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue