Revert back to non-colorized part thumbnails
This commit is contained in:
parent
0cd2ffd093
commit
374c35fcb0
3 changed files with 5 additions and 6 deletions
|
|
@ -32,7 +32,6 @@ using System.Collections.Generic;
|
|||
using System.Collections.ObjectModel;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using MatterHackers.Agg;
|
||||
using MatterHackers.Agg.Image;
|
||||
using MatterHackers.Agg.PlatformAbstract;
|
||||
|
|
@ -245,7 +244,7 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
ImageIO.LoadImageData(cachePath, thumbnail);
|
||||
thumbnail.SetRecieveBlender(new BlenderPreMultBGRA());
|
||||
|
||||
return thumbnail.MultiplyWithPrimaryAccent();
|
||||
return thumbnail;
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
|
|||
|
|
@ -121,14 +121,14 @@ namespace MatterHackers.MatterControl.CustomWidgets
|
|||
&& contentProvider is MeshContentProvider)
|
||||
{
|
||||
// Before we have a thumbnail set to the content specific thumbnail
|
||||
thumbnail = contentProvider.DefaultImage.AlphaToPrimaryAccent();
|
||||
thumbnail = contentProvider.DefaultImage;
|
||||
|
||||
ApplicationController.Instance.QueueForGeneration(async () =>
|
||||
{
|
||||
// When this widget is dequeued for generation, validate before processing. Off-screen widgets should be skipped and will requeue next time they become visible
|
||||
if (ListViewItemBase.WidgetOnScreen(this, this.LocalBounds))
|
||||
{
|
||||
SetItemThumbnail(generatingThumbnailIcon.AlphaToPrimaryAccent());
|
||||
SetItemThumbnail(generatingThumbnailIcon);
|
||||
|
||||
// Then try to load a content specific thumbnail
|
||||
await contentProvider.GetThumbnail(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue