Remove static ActivePrintItem
This commit is contained in:
parent
09c1f253a0
commit
55ac2571fa
21 changed files with 139 additions and 719 deletions
|
|
@ -123,7 +123,9 @@ namespace MatterHackers.MatterControl
|
|||
if (!referencedFilePaths.Contains(fileLocation))
|
||||
{
|
||||
referencedFilePaths.Add(fileLocation);
|
||||
referencedFilePaths.Add(PartThumbnailWidget.GetImageFileName(printItem));
|
||||
|
||||
// TODO: Use standard caching mechanism on both ends for fingerprint based caching
|
||||
//referencedFilePaths.Add(PartThumbnailWidget.GetImageFileName(printItem));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -137,7 +139,8 @@ namespace MatterHackers.MatterControl
|
|||
if (!referencedFilePaths.Contains(printItem.FileLocation))
|
||||
{
|
||||
referencedFilePaths.Add(printItem.FileLocation);
|
||||
referencedFilePaths.Add(PartThumbnailWidget.GetImageFileName(printItemWrapper));
|
||||
// TODO: Use standard caching mechanism on both ends for fingerprint based caching
|
||||
//referencedFilePaths.Add(PartThumbnailWidget.GetImageFileName(printItemWrapper));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue