Merge pull request #5118 from kenichiice/dxf/negative-index
DXF: Support negative index in VERTEXpull/4803/head^2
commit
0ff0bd7a6e
|
@ -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