From 7245cceead0ea647a61cebafc32191e2f588c7ea Mon Sep 17 00:00:00 2001 From: Daniel Hritzkiv Date: Sun, 3 Sep 2017 22:03:02 -0400 Subject: [PATCH] Set default values on Sampler --- code/glTF2Asset.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/glTF2Asset.h b/code/glTF2Asset.h index 875594254..711e8231b 100644 --- a/code/glTF2Asset.h +++ b/code/glTF2Asset.h @@ -800,7 +800,7 @@ namespace glTF2 SamplerWrap wrapS; //!< The texture wrapping in the S direction. (required) SamplerWrap wrapT; //!< The texture wrapping in the T direction. (required) - Sampler() {} + Sampler() { SetDefaults(); } void Read(Value& obj, Asset& r); void SetDefaults(); };