Commit 00676af3 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed skipping of non-cell entities in VTKReader

parent af76a538
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -190,6 +190,12 @@ public:
            }
            offsetsArray.push_back( connectivityArray.size() );
         }
         else {
            // skip the entity
            const std::int32_t subvertices = readValue< std::int32_t >( dataFormat, inputFile );
            for( int v = 0; v < subvertices; v++ )
               skipValue( dataFormat, inputFile, "int" );
         }
      }

      // set cell types