Renderer/Texture: Remember FilePath when loading from an image
Former-commit-id: 76fb68894320da3b0d3c3501843c238e353e922d [formerly b9ce288c206a844b6f905d06463092a9d0e0cc4b] Former-commit-id: 19a47609ab1267a18925099318aae1ea9de96ca8
This commit is contained in:
parent
57b03bd9ed
commit
3968e54d8c
|
|
@ -582,6 +582,9 @@ namespace Nz
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Keep resource path info
|
||||||
|
SetFilePath(image.GetFilePath());
|
||||||
|
|
||||||
destroyOnExit.Reset();
|
destroyOnExit.Reset();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue