Browse Source

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

DXF: Support negative index in VERTEX
Kim Kulling 2 years ago
parent
commit
0ff0bd7a6e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/AssetLib/DXF/DXFLoader.cpp

+ 1 - 1
code/AssetLib/DXF/DXFLoader.cpp

@@ -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;