Renderer/Texture: Remember FilePath when loading from an image

Former-commit-id: 45ccc8b81490ab30e0f31b09a77ab77bcee6c975 [formerly ba58653223f2c61a0b8ba3a5f3abae8037efc266]
Former-commit-id: 81e567f17199a829cc03004bca17699a34fb516d
This commit is contained in:
Lynix 2016-07-07 08:57:29 +02:00
parent 0b0dfda89d
commit 964b4cf730
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;