diff --git a/Assets/UniGLTF/Tests/UniGLTF/GltfLoadTests.cs b/Assets/UniGLTF/Tests/UniGLTF/GltfLoadTests.cs index 3684281d1..2ab25dfba 100644 --- a/Assets/UniGLTF/Tests/UniGLTF/GltfLoadTests.cs +++ b/Assets/UniGLTF/Tests/UniGLTF/GltfLoadTests.cs @@ -10,6 +10,14 @@ namespace UniGLTF { public class GltfLoadTests { + static string[] Skip = new string[] + { + "BrainStem", + "RiggedSimple", + "RecursiveSkeletons", + "AnimatedMorphCube", + }; + static IEnumerable EnumerateGltfFiles(DirectoryInfo dir) { if (dir.Name == ".git") @@ -66,16 +74,6 @@ namespace UniGLTF return data.ToGlbBytes(); } - // Unsolved Animation Export issue - // - // QuaternionToEuler: Input quaternion was not normalized - // - static string[] Skip = new string[] - { - "BrainStem", - "RiggedSimple" - }; - static void RuntimeLoadExport(FileInfo gltf, int subStrStart) { GltfData data = null; @@ -150,10 +148,12 @@ namespace UniGLTF static bool Exclude(FileInfo f) { - // RecursiveSkeletons/glTF-Binary/RecursiveSkeletons.glb - if (f.Directory.Parent.Name == "RecursiveSkeletons") + foreach (var skip in Skip) { - return true; + if (f.Directory.Parent.Name == skip) + { + return true; + } } return false;