mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 04:07:11 +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:
|
||||
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(); }
|
||||
|
||||
|
|
Loading…
Reference in a new issue