mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 10:43:21 +02:00
Use correct textureBaseUrl
This commit is contained in:
parent
fac54b6ee3
commit
b90f2b2e0a
1 changed files with 1 additions and 2 deletions
|
@ -157,7 +157,7 @@ class GeometryDefinitionResource : public GeometryResource {
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
GeometryDefinitionResource(const QUrl& url, const QVariantHash& mapping, const QUrl& textureBaseUrl) :
|
GeometryDefinitionResource(const QUrl& url, const QVariantHash& mapping, const QUrl& textureBaseUrl) :
|
||||||
GeometryResource(url), _mapping(mapping), _textureBaseUrl(textureBaseUrl) {}
|
GeometryResource(url), _mapping(mapping), _textureBaseUrl(textureBaseUrl.isValid() ? textureBaseUrl : url) {}
|
||||||
|
|
||||||
virtual void downloadFinished(const QByteArray& data) override;
|
virtual void downloadFinished(const QByteArray& data) override;
|
||||||
|
|
||||||
|
@ -497,4 +497,3 @@ void NetworkMaterial::setTextures(const QVariantMap& textureMap) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "ModelCache.moc"
|
#include "ModelCache.moc"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue