Working on mesh wrapper and rebuild issues

This commit is contained in:
Lars Brubaker 2018-05-30 16:42:17 -07:00
parent a0ff7fa653
commit 25883fc0bc
18 changed files with 247 additions and 79 deletions

View file

@ -224,14 +224,18 @@ namespace MatterHackers.MatterControl.CustomWidgets
// TODO: Resolve and implement
// Allow the container to draw an overlay - use signal interface or add method to interface?
//var iconWithOverlay = ActiveContainer.DrawOverlay()
if (this.imageWidget != null)
if (thumbnail != null
&& (this.imageWidget.Image == null
|| !thumbnail.Equals(this.imageWidget.Image, 5)))
{
this.imageWidget.Image = thumbnail;
}
this.ImageSet?.Invoke(this, null);
this.ImageSet?.Invoke(this, null);
this.Invalidate();
this.Invalidate();
}
}
}