Let LoadImage resolve AssetPath
- Remove non-relative path aware File.Exists call
This commit is contained in:
parent
5154066621
commit
e67305ed7d
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue