From bbc3db89677aa4fe3edcb6c277fff7eb90c59ac0 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Mon, 1 Nov 2021 18:49:24 +0900 Subject: [PATCH 1/2] =?UTF-8?q?=E8=A8=AD=E5=AE=9A=E3=81=8C=E7=84=A1?= =?UTF-8?q?=E3=81=84=E6=99=82=E3=81=AB=E3=83=87=E3=83=95=E3=82=A9=E3=83=AB?= =?UTF-8?q?=E3=83=88=E5=80=A4=E3=82=92=E4=BD=9C=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/VRM10/Runtime/IO/Vrm10Importer.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Assets/VRM10/Runtime/IO/Vrm10Importer.cs b/Assets/VRM10/Runtime/IO/Vrm10Importer.cs index d1de0411f..0ae638add 100644 --- a/Assets/VRM10/Runtime/IO/Vrm10Importer.cs +++ b/Assets/VRM10/Runtime/IO/Vrm10Importer.cs @@ -464,6 +464,19 @@ namespace UniVRM10 }); } } + else + { + // default 値を割り当てる + foreach (var smr in Root.GetComponentsInChildren()) + { + var relative = smr.transform.RelativePathFrom(Root.transform); + vrm.FirstPerson.Renderers.Add(new RendererFirstPersonFlags + { + FirstPersonFlag = UniGLTF.Extensions.VRMC_vrm.FirstPersonType.auto, + Renderer = relative, + }); + } + } return vrm; } From cad9bf739e1a60567b15a7280e177cff46732005 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Mon, 1 Nov 2021 18:50:35 +0900 Subject: [PATCH 2/2] v0.88.1 --- Assets/UniGLTF/Runtime/UniGLTF/UniGLTFVersion.cs | 4 ++-- Assets/UniGLTF/package.json | 4 ++-- Assets/VRM/Runtime/Format/VRMVersion.cs | 4 ++-- Assets/VRM/package.json | 6 +++--- Assets/VRM10/package.json | 6 +++--- Assets/VRMShaders/package.json | 2 +- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Assets/UniGLTF/Runtime/UniGLTF/UniGLTFVersion.cs b/Assets/UniGLTF/Runtime/UniGLTF/UniGLTFVersion.cs index 43f35f60f..cd20f4621 100644 --- a/Assets/UniGLTF/Runtime/UniGLTF/UniGLTFVersion.cs +++ b/Assets/UniGLTF/Runtime/UniGLTF/UniGLTFVersion.cs @@ -5,7 +5,7 @@ namespace UniGLTF { public const int MAJOR = 2; public const int MINOR = 24; - public const int PATCH = 0; - public const string VERSION = "2.24.0"; + public const int PATCH = 1; + public const string VERSION = "2.24.1"; } } diff --git a/Assets/UniGLTF/package.json b/Assets/UniGLTF/package.json index 930fb3f1f..f74ae1627 100644 --- a/Assets/UniGLTF/package.json +++ b/Assets/UniGLTF/package.json @@ -1,6 +1,6 @@ { "name": "com.vrmc.gltf", - "version": "0.88.0", + "version": "0.88.1", "displayName": "UniGLTF", "description": "GLTF importer and exporter", "unity": "2019.4", @@ -11,6 +11,6 @@ "name": "VRM Consortium" }, "dependencies": { - "com.vrmc.vrmshaders": "0.88.0" + "com.vrmc.vrmshaders": "0.88.1" } } \ No newline at end of file diff --git a/Assets/VRM/Runtime/Format/VRMVersion.cs b/Assets/VRM/Runtime/Format/VRMVersion.cs index 13c750bfc..a097279ab 100644 --- a/Assets/VRM/Runtime/Format/VRMVersion.cs +++ b/Assets/VRM/Runtime/Format/VRMVersion.cs @@ -5,7 +5,7 @@ namespace VRM { public const int MAJOR = 0; public const int MINOR = 88; - public const int PATCH = 0; - public const string VERSION = "0.88.0"; + public const int PATCH = 1; + public const string VERSION = "0.88.1"; } } diff --git a/Assets/VRM/package.json b/Assets/VRM/package.json index 3d2780219..dc2fc8260 100644 --- a/Assets/VRM/package.json +++ b/Assets/VRM/package.json @@ -1,6 +1,6 @@ { "name": "com.vrmc.univrm", - "version": "0.88.0", + "version": "0.88.1", "displayName": "VRM", "description": "VRM importer", "unity": "2019.4", @@ -14,8 +14,8 @@ "name": "VRM Consortium" }, "dependencies": { - "com.vrmc.vrmshaders": "0.88.0", - "com.vrmc.gltf": "0.88.0" + "com.vrmc.vrmshaders": "0.88.1", + "com.vrmc.gltf": "0.88.1" }, "samples": [ { diff --git a/Assets/VRM10/package.json b/Assets/VRM10/package.json index e2e6c6127..2de705d05 100644 --- a/Assets/VRM10/package.json +++ b/Assets/VRM10/package.json @@ -1,6 +1,6 @@ { "name": "com.vrmc.vrm", - "version": "0.88.0", + "version": "0.88.1", "displayName": "VRM-1.0β", "description": "VRM-1.0β importer", "unity": "2019.4", @@ -14,8 +14,8 @@ "name": "VRM Consortium" }, "dependencies": { - "com.vrmc.vrmshaders": "0.88.0", - "com.vrmc.gltf": "0.88.0" + "com.vrmc.vrmshaders": "0.88.1", + "com.vrmc.gltf": "0.88.1" }, "samples": [ { diff --git a/Assets/VRMShaders/package.json b/Assets/VRMShaders/package.json index 43c42f3c1..a2dd7a65a 100644 --- a/Assets/VRMShaders/package.json +++ b/Assets/VRMShaders/package.json @@ -1,6 +1,6 @@ { "name": "com.vrmc.vrmshaders", - "version": "0.88.0", + "version": "0.88.1", "displayName": "VRM Shaders", "description": "VRM Shaders", "unity": "2019.4",