mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 09:48:44 +02:00
Init tex base url in Geometry ctor
This commit is contained in:
parent
1e7a69fb90
commit
2daf0c4da4
1 changed files with 2 additions and 1 deletions
|
@ -95,7 +95,8 @@ class GeometryResource : public Resource, public Geometry {
|
||||||
public:
|
public:
|
||||||
using Pointer = QSharedPointer<GeometryResource>;
|
using Pointer = QSharedPointer<GeometryResource>;
|
||||||
|
|
||||||
GeometryResource(const QUrl& url, const QUrl& textureBaseUrl = QUrl()) : Resource(url) {}
|
GeometryResource(const QUrl& url, const QUrl& textureBaseUrl = QUrl()) :
|
||||||
|
Resource(url), _textureBaseUrl(textureBaseUrl) {}
|
||||||
|
|
||||||
virtual bool areTexturesLoaded() const { return isLoaded() && Geometry::areTexturesLoaded(); }
|
virtual bool areTexturesLoaded() const { return isLoaded() && Geometry::areTexturesLoaded(); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue