taking out the hash code from print item.

This commit is contained in:
Lars Brubaker 2015-06-08 18:42:32 -07:00
parent d82b26af7f
commit 399c7fcb54
2 changed files with 1 additions and 11 deletions

View file

@ -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; }

View file

@ -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;
}
}