From 553dd75e5061d98deefedfc0b11dad098d91f0e7 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Fri, 25 May 2018 16:33:28 +0900 Subject: [PATCH] Fix VRMBone.upperChest for Unity-5.5 --- Scripts/Format/glTF_VRM_Humanoid.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Scripts/Format/glTF_VRM_Humanoid.cs b/Scripts/Format/glTF_VRM_Humanoid.cs index 08b03e471..d0426934c 100644 --- a/Scripts/Format/glTF_VRM_Humanoid.cs +++ b/Scripts/Format/glTF_VRM_Humanoid.cs @@ -77,7 +77,8 @@ namespace VRM } public static HumanBodyBones ToHumanBodyBone(this VRMBone bone) { -#if UNITY_5_6_OR_NEWER +#if UNITY_5_6_OR_NEWER +#else if (bone == VRMBone.upperChest) { return HumanBodyBones.LastBone;