Making GitHub cache only be 12 hours for content.
This commit is contained in:
parent
3e9fdb90e6
commit
31426c48ac
9 changed files with 42 additions and 97 deletions
|
|
@ -145,6 +145,12 @@ namespace MatterHackers.MatterControl
|
|||
ImageIO.SaveImageData(
|
||||
ApplicationController.Instance.Thumbnails.CachePath(libraryItem, width, height),
|
||||
thumbnail);
|
||||
|
||||
#if DEBUG
|
||||
ImageIO.SaveImageData(
|
||||
ApplicationController.Instance.Thumbnails.CachePath(Path.GetFileNameWithoutExtension(object3D.Name), width, height),
|
||||
thumbnail);
|
||||
#endif
|
||||
}
|
||||
|
||||
return thumbnail ?? DefaultImage;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue