Allowing the PLY reader to read custom face ( Thanks to morgan Leborgne for the patch)
This commit is contained in:
@@ -1270,6 +1270,8 @@ bool _PLYReader_::can_u_read(std::istream& _is) const {
|
|||||||
omerr() << "Custom face Properties defined, before 'vertex_indices' property was defined. They will be skipped" << std::endl;
|
omerr() << "Custom face Properties defined, before 'vertex_indices' property was defined. They will be skipped" << std::endl;
|
||||||
elements_.back().properties_.clear();
|
elements_.back().properties_.clear();
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
options_ += Options::Custom;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user