From 2e7ba45a6c46a1b733011b451ffbf56744817efd Mon Sep 17 00:00:00 2001 From: danwillm <39023874+danwillm@users.noreply.github.com> Date: Mon, 1 Jul 2024 18:25:59 +0100 Subject: [PATCH] Make inverseBindMatrices optional --- tiny_gltf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiny_gltf.h b/tiny_gltf.h index 4a8d073..e0f99cc 100644 --- a/tiny_gltf.h +++ b/tiny_gltf.h @@ -5660,7 +5660,7 @@ static bool ParseSkin(Skin *skin, std::string *err, const detail::json &o, skin->skeleton = skeleton; int invBind = -1; - ParseIntegerProperty(&invBind, err, o, "inverseBindMatrices", true, "Skin"); + ParseIntegerProperty(&invBind, err, o, "inverseBindMatrices", false, "Skin"); skin->inverseBindMatrices = invBind; ParseExtrasAndExtensions(skin, err, o,