DXF: Support negative index in VERTEX

pull/5118/head
OGAWA KenIchi 2023-08-31 17:22:26 +09:00
parent e673d1fd9e
commit 8d8a0a5af7
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) {
indices[cnti++] = static_cast<unsigned int>(index);
} else {
ASSIMP_LOG_WARN("DXF: Skip invisible face.");
indices[cnti++] = static_cast<unsigned int>(-index);
}
}
break;