mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-08-08 08:47:13 +02:00
Merge pull request #27 from druiz17/serverless-domains
adding content to resources
This commit is contained in:
commit
22f5752316
1 changed files with 2 additions and 1 deletions
|
@ -38,6 +38,7 @@
|
|||
#include <NumericalConstants.h>
|
||||
#include <shared/NsightHelpers.h>
|
||||
#include <shared/FileUtils.h>
|
||||
#include <PathUtils.h>
|
||||
#include <Finally.h>
|
||||
#include <Profile.h>
|
||||
|
||||
|
@ -468,7 +469,7 @@ void NetworkTexture::makeLocalRequest() {
|
|||
const QString scheme = _url.scheme();
|
||||
QString path;
|
||||
if (scheme == URL_SCHEME_FILE) {
|
||||
path = _url.toLocalFile();
|
||||
path = PathUtils::expandToLocalDataAbsolutePath(_url).toLocalFile();
|
||||
} else {
|
||||
path = ":" + _url.path();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue