Add type for thumbnail cache, move to ApplicationController
This commit is contained in:
parent
2c0367a2c5
commit
b491cc8e5a
6 changed files with 12 additions and 81 deletions
|
|
@ -72,7 +72,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
|
||||
string thumbnailId = libraryItem.ID;
|
||||
|
||||
var thumbnail = MeshContentProvider.LoadCachedImage(thumbnailId, thumbWidth, thumbHeight);
|
||||
var thumbnail = ApplicationController.Instance.Thumbnails.LoadCachedImage(thumbnailId, thumbWidth, thumbHeight);
|
||||
if (thumbnail != null)
|
||||
{
|
||||
this.SetItemThumbnail(thumbnail);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue