From bc803213fc8464ccadec841cc3a349f54605b498 Mon Sep 17 00:00:00 2001 From: Par Winzell Date: Tue, 17 Oct 2017 21:19:36 -0700 Subject: [PATCH] Delete obsolete snippets. --- src/Fbx2Raw.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Fbx2Raw.cpp b/src/Fbx2Raw.cpp index c1bc134a..6ccc94fa 100644 --- a/src/Fbx2Raw.cpp +++ b/src/Fbx2Raw.cpp @@ -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 collectedWarnings; int polygonVertexIndex = 0; for (int polygonIndex = 0; polygonIndex < pMesh->GetPolygonCount(); polygonIndex++) { @@ -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)