newMeshType: properly initialize the attrib map; see #19