Let LoadImage resolve AssetPath

- Remove non-relative path aware File.Exists call
This commit is contained in:
John Lewin 2018-03-20 16:37:13 -07:00
parent 5154066621
commit e67305ed7d

View file

@ -75,10 +75,10 @@ namespace MatterHackers.MatterControl.DesignTools
{
if (_image == null)
{
if (File.Exists(this.AssetPath))
{
_image = this.LoadImage();
_image = this.LoadImage();
if (_image != null)
{
if (this.Invert)
{
_image = InvertLightness.DoInvertLightness(_image);