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

DXF: Support negative index in VERTEX
pull/4803/head^2
Kim Kulling 2023-09-01 15:54:39 +02:00 committed by GitHub
commit 0ff0bd7a6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -731,7 +731,7 @@ void DXFImporter::ParsePolyLineVertex(DXF::LineReader& reader, DXF::PolyLine& li
if (index >= 0) { if (index >= 0) {
indices[cnti++] = static_cast<unsigned int>(index); indices[cnti++] = static_cast<unsigned int>(index);
} else { } else {
ASSIMP_LOG_WARN("DXF: Skip invisible face."); indices[cnti++] = static_cast<unsigned int>(-index);
} }
} }
break; break;