Set default values on Sampler

pull/1423/head
Daniel Hritzkiv 2017-09-03 22:03:02 -04:00
parent 2abdbdb55e
commit 7245cceead
No known key found for this signature in database
GPG Key ID: D1D19875679D5CBF
1 changed files with 1 additions and 1 deletions

View File

@ -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();
};