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