diff --git a/include/core-mesh/meshIO.cpp b/include/core-mesh/meshIO.cpp index 7f1cfb3..426560c 100644 --- a/include/core-mesh/meshIO.cpp +++ b/include/core-mesh/meshIO.cpp @@ -115,25 +115,22 @@ void MeshIO::loadFromPLY( const std::string& filename, MeshData::loadFromPLY( const std::string& filename, MeshData> ignore; + // uchar/int + ss >> p.nameType; + // create our own name for this + p.name = "verticesPerFace"; + p.byteSize = getByteSizeFromNameType(p.nameType); + header.m_properties[p.name].push_back(p); + } else { //property belonging to unknown element }