Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into release-ready
Browse files Browse the repository at this point in the history
  • Loading branch information
hobu committed Apr 6, 2017
2 parents 8e22916 + 505acf9 commit 90acdc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io/PlyWriter.cpp
Expand Up @@ -158,7 +158,7 @@ void PlyWriter::done(PointTableRef table)
auto dimensions = table.layout()->dims();
for (auto dim : dimensions) {
std::string name = table.layout()->dimName(dim);
e_ply_type plyType = getPlyType(Dimension::defaultType(dim));
e_ply_type plyType = getPlyType(table.layout()->dimType(dim));
if (!ply_add_scalar_property(m_ply, name.c_str(), plyType))
throwError("Could not add scalar property '" + name + "'");
}
Expand Down

0 comments on commit 90acdc3

Please sign in to comment.