[1.0][Export] normalize validation しない

This commit is contained in:
ousttrue
2021-12-15 15:00:59 +09:00
parent fbbb0fb645
commit 2c40aab10b
3 changed files with 12 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ namespace UniGLTF
public static IReadOnlyList<UniGLTF.MeshExportInfo> MeshInformations;
public static bool EnableFreeze;
public static IEnumerable<Validation> Validate(GameObject ExportRoot)
public static IEnumerable<Validation> Validate_Normalize(GameObject ExportRoot)
{
if (!ExportRoot)
{
@@ -114,6 +114,14 @@ namespace UniGLTF
}
}
}
}
public static IEnumerable<Validation> Validate_TPose(GameObject ExportRoot)
{
if (!ExportRoot)
{
yield break;
}
//
// animator

View File

@@ -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 のチェック

View File

@@ -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;