You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PLY reader reads the header and parses it in order to construct an appropriate reader. In a second pass, the header is skipped and the actual data is read. When skipping the header the length is calculated based on the last pass. Here happens the error:
CURRENT: All new-line representations are assumed to be represented with a length of 1. This is not true under Windows systems and hence leads to errors when parsing a PLY mesh.
SOLUTION: Use the length of System.getProperty("line.separator") instead off assuming a length of 1.
The text was updated successfully, but these errors were encountered:
* fixed bug when skipping the header and counted formerly new lines as one character independent of the OS
* reading a ascii-ply file assumes now only consistent punctuation for floating point numbers
The PLY reader reads the header and parses it in order to construct an appropriate reader. In a second pass, the header is skipped and the actual data is read. When skipping the header the length is calculated based on the last pass. Here happens the error:
CURRENT: All new-line representations are assumed to be represented with a length of 1. This is not true under Windows systems and hence leads to errors when parsing a PLY mesh.
SOLUTION: Use the length of
System.getProperty("line.separator")
instead off assuming a length of 1.The text was updated successfully, but these errors were encountered: