From cc7e229c3c1ed78a7e2ca2371ffbaad041fe06f5 Mon Sep 17 00:00:00 2001 From: Urs Hanselmann Date: Fri, 12 Mar 2021 08:55:11 +0100 Subject: [PATCH] disable size check --- code/AssetLib/FBX/FBXMeshGeometry.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/code/AssetLib/FBX/FBXMeshGeometry.cpp b/code/AssetLib/FBX/FBXMeshGeometry.cpp index f2f19d0b1..0a5074fb4 100644 --- a/code/AssetLib/FBX/FBXMeshGeometry.cpp +++ b/code/AssetLib/FBX/FBXMeshGeometry.cpp @@ -508,11 +508,11 @@ void ResolveVertexDataArray(std::vector& data_out, const Scope& source, std::vector uvIndices; ParseVectorDataArray(uvIndices,GetRequiredElement(source,indexDataElementName)); - if (uvIndices.size() != vertex_count) { - FBXImporter::LogError(Formatter::format("length of input data unexpected for ByPolygonVertex mapping: ") - << uvIndices.size() << ", expected " << vertex_count); - return; - } + // if (uvIndices.size() != vertex_count) { + // FBXImporter::LogError(Formatter::format("length of input data unexpected for ByPolygonVertex mapping: ") + // << uvIndices.size() << ", expected " << vertex_count); + // return; + // } data_out.resize(vertex_count);