diff --git a/Assets/UniGLTF/Editor/UniGLTF/Validation/HumanoidValidator.cs b/Assets/UniGLTF/Editor/UniGLTF/Validation/HumanoidValidator.cs index f1735075d..1d1b36a7e 100644 --- a/Assets/UniGLTF/Editor/UniGLTF/Validation/HumanoidValidator.cs +++ b/Assets/UniGLTF/Editor/UniGLTF/Validation/HumanoidValidator.cs @@ -76,7 +76,7 @@ namespace UniGLTF public static IReadOnlyList MeshInformations; public static bool EnableFreeze; - public static IEnumerable Validate(GameObject ExportRoot) + public static IEnumerable Validate_Normalize(GameObject ExportRoot) { if (!ExportRoot) { @@ -114,6 +114,14 @@ namespace UniGLTF } } } + } + + public static IEnumerable Validate_TPose(GameObject ExportRoot) + { + if (!ExportRoot) + { + yield break; + } // // animator diff --git a/Assets/VRM/Editor/Format/VRMExporterWizard.cs b/Assets/VRM/Editor/Format/VRMExporterWizard.cs index 8e1e94441..171533f06 100644 --- a/Assets/VRM/Editor/Format/VRMExporterWizard.cs +++ b/Assets/VRM/Editor/Format/VRMExporterWizard.cs @@ -174,7 +174,8 @@ namespace VRM // Humanoid のチェック HumanoidValidator.MeshInformations = m_meshes.Meshes; HumanoidValidator.EnableFreeze = m_settings.PoseFreeze; - yield return HumanoidValidator.Validate; + yield return HumanoidValidator.Validate_Normalize; + yield return HumanoidValidator.Validate_TPose; // // VRM のチェック diff --git a/Assets/VRM10/Editor/Vrm10ExportDialog.cs b/Assets/VRM10/Editor/Vrm10ExportDialog.cs index f72eeff94..245e1cebf 100644 --- a/Assets/VRM10/Editor/Vrm10ExportDialog.cs +++ b/Assets/VRM10/Editor/Vrm10ExportDialog.cs @@ -136,7 +136,7 @@ namespace UniVRM10 yield break; } - yield return HumanoidValidator.Validate; + yield return HumanoidValidator.Validate_TPose; // MeshUtility.Validators.HumanoidValidator.EnableFreeze = false; // yield return MeshUtility.Validators.HumanoidValidator.Validate;