Skip to content

Commit

Permalink
Delete obsolete snippets.
Browse files Browse the repository at this point in the history
  • Loading branch information
Par Winzell committed Oct 18, 2017
1 parent bf28c29 commit bc80321
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Fbx2Raw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,6 @@ static void ReadMesh(RawModel &raw, FbxScene *pScene, FbxNode *pNode, const std:
rawSurface.jointGeometryMaxs.emplace_back(-FLT_MAX, -FLT_MAX, -FLT_MAX);
}

std::set<std::string> collectedWarnings;
int polygonVertexIndex = 0;

for (int polygonIndex = 0; polygonIndex < pMesh->GetPolygonCount(); polygonIndex++) {
Expand Down Expand Up @@ -691,9 +690,6 @@ static void ReadMesh(RawModel &raw, FbxScene *pScene, FbxNode *pNode, const std:

raw.AddTriangle(rawVertexIndices[0], rawVertexIndices[1], rawVertexIndices[2], rawMaterialIndex, rawSurfaceIndex);
}
for (const auto &warning : collectedWarnings) {
fmt::fprintf(stderr, "%s\n", warning);
}
}

static void ReadCamera(RawModel &raw, FbxScene *pScene, FbxNode *pNode)
Expand Down

0 comments on commit bc80321

Please sign in to comment.