Browse Source

disable size check

Urs Hanselmann 4 years ago
parent
commit
cc7e229c3c
1 changed files with 5 additions and 5 deletions
  1. 5 5
      code/AssetLib/FBX/FBXMeshGeometry.cpp

+ 5 - 5
code/AssetLib/FBX/FBXMeshGeometry.cpp

@@ -508,11 +508,11 @@ void ResolveVertexDataArray(std::vector<T>& data_out, const Scope& source,
         std::vector<int> uvIndices;
         std::vector<int> uvIndices;
         ParseVectorDataArray(uvIndices,GetRequiredElement(source,indexDataElementName));
         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);
         data_out.resize(vertex_count);