From 1208f057d60ae37e0925e559b93142f26ad14bc4 Mon Sep 17 00:00:00 2001 From: Selmar Date: Mon, 1 Feb 2021 19:24:41 +0100 Subject: [PATCH] check correct `extensionsUsed` for serialization --- tiny_gltf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiny_gltf.h b/tiny_gltf.h index ec98174..02030bc 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -7471,7 +7471,7 @@ static void SerializeGltfModel(Model *model, json &o) { } // Extensions used - if (model->extensionsUsed.size()) { + if (extensionsUsed.size()) { SerializeStringArrayProperty("extensionsUsed", extensionsUsed, o); }