Update utglTF2ImportExport.cpp

disable unused test.
This commit is contained in:
Kim Kulling
2018-10-09 16:27:48 +02:00
committed by GitHub
parent f6f36a1ccf
commit f26019aa8a

View File

@@ -367,10 +367,10 @@ std::vector<char> ReadFile(const char* name) {
}
TEST_F(utglTF2ImportExport, importglTF2FromMemory) {
const auto flags = aiProcess_CalcTangentSpace | aiProcess_Triangulate | aiProcess_RemoveComponent |
/*const auto flags = aiProcess_CalcTangentSpace | aiProcess_Triangulate | aiProcess_RemoveComponent |
aiProcess_GenSmoothNormals | aiProcess_PreTransformVertices | aiProcess_FixInfacingNormals |
aiProcess_FindDegenerates | aiProcess_GenUVCoords | aiProcess_SortByPType;
const auto& buff = ReadFile("C:\\Users\\kimkulling\\Downloads\\camel\\camel\\scene.gltf");
const auto& buff = ReadFile("C:\\Users\\kimkulling\\Downloads\\camel\\camel\\scene.gltf");*/
/*const aiScene* Scene = ::aiImportFileFromMemory(&buff[0], buff.size(), flags, ".gltf");
EXPECT_EQ( nullptr, Scene );*/
}