Merge pull request #5118 from kenichiice/dxf/negative-index

DXF: Support negative index in VERTEX
This commit is contained in:
Kim Kulling
2023-09-01 15:54:39 +02:00
committed by GitHub

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;