Skip to content

Commit

Permalink
Merge pull request #3 from tylermorganwall/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
vilya committed Oct 29, 2020
2 parents 75ede96 + ff69336 commit c6aec44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ TriMesh* load_trimesh_from_ply(const char* filename)
}
gotVerts = true;
}
else if (reader.element_is(miniply::kPLYFaceElement) && reader.load_element() && reader.find_indices(indexes) {
else if (reader.element_is(miniply::kPLYFaceElement) && reader.load_element() && reader.find_indices(indexes)) {
uint32_t propIdx;
bool polys = reader.requires_triangulation(propIdx);
if (polys && !gotVerts) {
fprintf(stderr, "Error: need vertex positions to triangulate faces.\n");
Expand Down

0 comments on commit c6aec44

Please sign in to comment.