Renderer/Texture: Remember FilePath when loading from an image
Former-commit-id: ee6fbe380c66acd01db4ff9d30f3b7cfc0715d54 [formerly 0344d8b24eeee05094eba564c0a6a0f683244437] Former-commit-id: 2ed1b3bbad9bfa9eefdf69dcf664b7e6b9821dd8
This commit is contained in:
parent
884c8528f4
commit
88e337cb73
|
|
@ -582,6 +582,9 @@ namespace Nz
|
|||
}
|
||||
}
|
||||
|
||||
// Keep resource path info
|
||||
SetFilePath(image.GetFilePath());
|
||||
|
||||
destroyOnExit.Reset();
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue