Update FBXConverter.cpp

pull/2301/head
SchroerDev 2019-01-17 12:32:36 +01:00 committed by GitHub
parent 3a3340b926
commit f7fe729c88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -1007,10 +1007,7 @@ namespace Assimp {
// copy vertices // copy vertices
out_mesh->mNumVertices = static_cast<unsigned int>(vertices.size()); out_mesh->mNumVertices = static_cast<unsigned int>(vertices.size());
out_mesh->mVertices = new aiVector3D[vertices.size()]; out_mesh->mVertices = new aiVector3D[vertices.size()];
// for (unsigned int i = 0; i < vertices.size(); i++)
// {
// aiMatrix4x4::Translation(vertices[i], nd);
// }
std::copy(vertices.begin(), vertices.end(), out_mesh->mVertices); std::copy(vertices.begin(), vertices.end(), out_mesh->mVertices);
// generate dummy faces // generate dummy faces