Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ply reader support crlf and lf #1370

Merged
merged 1 commit into from
Oct 14, 2015
Merged

Conversation

ladotonia
Copy link
Contributor

fixes #1256

Added a check to split lines on \r for crlf and skip the \n character, otherwise defaults to splitting on \n.

This has been verified to work on both crlf and lf in linux, it should work on windows for both filetypes but it has not been tested yet.

@taketwo
Copy link
Member

taketwo commented Oct 11, 2015

Hi, could you please format according to PCL Style guide? (Opening { on separate line, space before opening ().

The changes look good. Do you plan to test on Windows, or do we need to find someone for that?

@ladotonia
Copy link
Contributor Author

Thanks, the formatting should be fixed now.

I don't have a windows system set up to test on, it would be best if someone else could verify.

jspricke added a commit that referenced this pull request Oct 14, 2015
ply reader support crlf and lf
@jspricke jspricke merged commit bc3adbf into PointCloudLibrary:master Oct 14, 2015
@ladotonia ladotonia deleted the ply_crlf branch October 15, 2015 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

.ply files with unix line endings ('LF') cannot be read
3 participants