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/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; } 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",