Renderer/Texture: Remember FilePath when loading from an image

Former-commit-id: 76fb68894320da3b0d3c3501843c238e353e922d [formerly b9ce288c206a844b6f905d06463092a9d0e0cc4b]
Former-commit-id: 19a47609ab1267a18925099318aae1ea9de96ca8
This commit is contained in:
Lynix 2016-07-07 08:57:29 +02:00
parent 57b03bd9ed
commit 3968e54d8c
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();
return true;