Renderer/Texture: Remember FilePath when loading from an image

Former-commit-id: ee6fbe380c66acd01db4ff9d30f3b7cfc0715d54 [formerly 0344d8b24eeee05094eba564c0a6a0f683244437]
Former-commit-id: 2ed1b3bbad9bfa9eefdf69dcf664b7e6b9821dd8
This commit is contained in:
Lynix 2016-07-07 08:57:29 +02:00
parent 884c8528f4
commit 88e337cb73
1 changed files with 3 additions and 0 deletions

View File

@ -582,6 +582,9 @@ namespace Nz
} }
} }
// Keep resource path info
SetFilePath(image.GetFilePath());
destroyOnExit.Reset(); destroyOnExit.Reset();
return true; return true;