From 2daf0c4da4c23bd4da39c4fb3307a3e3928bc016 Mon Sep 17 00:00:00 2001 From: Zach Pomerantz <zach@highfidelity.io> Date: Fri, 1 Apr 2016 11:32:13 -0700 Subject: [PATCH] Init tex base url in Geometry ctor --- libraries/model-networking/src/model-networking/ModelCache.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/model-networking/src/model-networking/ModelCache.h b/libraries/model-networking/src/model-networking/ModelCache.h index 45f78f4f19..81883d972d 100644 --- a/libraries/model-networking/src/model-networking/ModelCache.h +++ b/libraries/model-networking/src/model-networking/ModelCache.h @@ -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(); }