disable size check
This commit is contained in:
@@ -508,11 +508,11 @@ void ResolveVertexDataArray(std::vector<T>& data_out, const Scope& source,
|
||||
std::vector<int> 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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user