Trim line

This commit is contained in:
Jan Möbius
2023-02-27 16:55:33 +01:00
parent faab87122f
commit 175e27aefb

View File

@@ -1351,6 +1351,7 @@ bool _PLYReader_::can_u_read(std::istream& _is) const {
if (keyword == "comment") { if (keyword == "comment") {
std::getline(_is, line); std::getline(_is, line);
trim(line);
// TextureFile // TextureFile
if (line.rfind(" TextureFile ", 0) == 0) { if (line.rfind(" TextureFile ", 0) == 0) {
std::cerr << "Comment: " << std::endl; std::cerr << "Comment: " << std::endl;