mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-07 19:38:13 -05:00
[1.0][Export] normalize validation しない
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 のチェック
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user