Update utglTF2ImportExport.cpp

disable unused test.
pull/2175/head
Kim Kulling 2018-10-09 16:27:48 +02:00 committed by GitHub
parent f6f36a1ccf
commit f26019aa8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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 );*/
}