Renderer/Texture: Remember FilePath when loading from an image
Former-commit-id: 45ccc8b81490ab30e0f31b09a77ab77bcee6c975 [formerly ba58653223f2c61a0b8ba3a5f3abae8037efc266] Former-commit-id: 81e567f17199a829cc03004bca17699a34fb516d
This commit is contained in:
parent
0b0dfda89d
commit
964b4cf730
|
|
@ -582,6 +582,9 @@ namespace Nz
|
|||
}
|
||||
}
|
||||
|
||||
// Keep resource path info
|
||||
SetFilePath(image.GetFilePath());
|
||||
|
||||
destroyOnExit.Reset();
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue