From 9980faec2a56f878684796c6fb481118a39bb9b3 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Fri, 15 Oct 2021 17:57:28 +0900 Subject: [PATCH 1/2] 1.0-beta --- Assets/VRM10/Runtime/IO/Vrm10Exporter.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs b/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs index b689ff4cc..7dbb17f79 100644 --- a/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs +++ b/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs @@ -218,6 +218,8 @@ namespace UniVRM10 gltfExporter.FixName(Storage.Gltf); } + public const string VRM_SPEC_VERSION = "1.0-beta"; + /// /// VRMコンポーネントのエクスポート /// @@ -247,6 +249,7 @@ namespace UniVRM10 var vrm = new UniGLTF.Extensions.VRMC_vrm.VRMC_vrm { + SpecVersion = VRM_SPEC_VERSION, Humanoid = new UniGLTF.Extensions.VRMC_vrm.Humanoid { HumanBones = new UniGLTF.Extensions.VRMC_vrm.HumanBones From c8a1c99f807082e03bda885a0f31e988fa532acf Mon Sep 17 00:00:00 2001 From: ousttrue Date: Fri, 15 Oct 2021 18:05:17 +0900 Subject: [PATCH 2/2] top --- Assets/VRM10/Runtime/IO/Vrm10Exporter.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs b/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs index 7dbb17f79..72ebd7ce7 100644 --- a/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs +++ b/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs @@ -11,6 +11,8 @@ namespace UniVRM10 { public class Vrm10Exporter : IDisposable { + public const string VRM_SPEC_VERSION = "1.0-beta"; + public readonly Vrm10Storage Storage = new Vrm10Storage(); public readonly string VrmExtensionName = "VRMC_vrm"; @@ -218,7 +220,6 @@ namespace UniVRM10 gltfExporter.FixName(Storage.Gltf); } - public const string VRM_SPEC_VERSION = "1.0-beta"; /// /// VRMコンポーネントのエクスポート