DXF: Support negative index in VERTEX
parent
e673d1fd9e
commit
8d8a0a5af7
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue