Simplify
This commit is contained in:
parent
3b633140b4
commit
910705d35b
2 changed files with 2 additions and 14 deletions
|
|
@ -108,7 +108,7 @@ namespace MatterHackers.MatterControl
|
|||
|
||||
long fileSize = 0;
|
||||
if (item is ILibraryAssetStream contentModel
|
||||
// Only load the stream if it's available - prevents download of internet content simply for thumbnails
|
||||
// Only load the stream if it's available - prevents download of Internet content simply for thumbnails
|
||||
&& contentModel.LocalContentExists
|
||||
&& contentModel.FileSize < MaxFileSizeForThumbnail)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue