From a3595488e3ee249bef51bb05d3e405dad88806d0 Mon Sep 17 00:00:00 2001 From: Selmar Kok Date: Fri, 9 Nov 2018 10:34:39 +0100 Subject: [PATCH] Fix missing serialization: sampler.wrapR --- tiny_gltf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tiny_gltf.h b/tiny_gltf.h index 464fc5a..c7710fc 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -4441,6 +4441,7 @@ static void SerializeGltfNode(Node &node, json &o) { static void SerializeGltfSampler(Sampler &sampler, json &o) { SerializeNumberProperty("magFilter", sampler.magFilter, o); SerializeNumberProperty("minFilter", sampler.minFilter, o); + SerializeNumberProperty("wrapR", sampler.wrapR, o); SerializeNumberProperty("wrapS", sampler.wrapS, o); SerializeNumberProperty("wrapT", sampler.wrapT, o);