From 40a14d2c24ac4f9aed03c8a3cbfafe48aabe8d35 Mon Sep 17 00:00:00 2001 From: 0b5vr <0b5vr@0b5vr.com> Date: Tue, 30 Jul 2024 13:32:52 +0900 Subject: [PATCH] fix: Add spec version `1.0` to `VRMC_springBone_extended_collider` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit spec versionが `1.0` の `VRMC_springBone_extended_collider` が出力されるようになるため、拡張コライダー仕様の正式リリースに合わせてマージ・リリースをお願いします。 --- Assets/VRM10/Runtime/IO/Vrm10Exporter.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs b/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs index 79bdfc6e9..2f0e8f49d 100644 --- a/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs +++ b/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs @@ -11,6 +11,7 @@ namespace UniVRM10 { public const string VRM_SPEC_VERSION = "1.0"; public const string SPRINGBONE_SPEC_VERSION = "1.0"; + public const string SPRINGBONE_EXTENDED_COLLIDER_SPEC_VERSION = "1.0"; public const string NODE_CONSTRAINT_SPEC_VERSION = "1.0"; public const string MTOON_SPEC_VERSION = "1.0"; @@ -501,6 +502,7 @@ namespace UniVRM10 { var extendedCollider = new UniGLTF.Extensions.VRMC_springBone_extended_collider.VRMC_springBone_extended_collider { + SpecVersion = SPRINGBONE_EXTENDED_COLLIDER_SPEC_VERSION, Shape = ExportShapeExtended(c), }; glTFExtension extensions = default;