DXF: Support negative index in VERTEX

This commit is contained in:
OGAWA KenIchi
2023-09-01 18:26:53 +09:00
parent e673d1fd9e
commit 8d8a0a5af7
+1 -1
View File
@@ -731,7 +731,7 @@ void DXFImporter::ParsePolyLineVertex(DXF::LineReader& reader, DXF::PolyLine& li
if (index >= 0) {
indices[cnti++] = static_cast<unsigned int>(index);
} else {
ASSIMP_LOG_WARN("DXF: Skip invisible face.");
indices[cnti++] = static_cast<unsigned int>(-index);
}
}
break;