Skip to content

Fix a bug in importing binary PLY file (#1) - #6060

Merged
kimkulling merged 1 commit into
assimp:masterfrom
Blue-Marble-Geographics:master
May 31, 2025
Merged

kimkulling merged 1 commit into
assimp:masterfrom
Blue-Marble-Geographics:master

Conversation

@yurik42

@yurik42 yurik42 commented Mar 20, 2025 •

Copy link
Copy Markdown
Contributor
  • Correct IOStreamBuffer::getNextLine() to prevent skipping too many '\n', which could be part of the BINARY part
  • Add a regression test

The code change fixes the #5692 bug

@turol

turol commented Mar 22, 2025

Copy link
Copy Markdown
Member

This looks suspicious and I suspect it will break other importers.

@yurik42

yurik42 commented Mar 23, 2025

Copy link
Copy Markdown
Contributor Author

This looks suspicious and I suspect it will break other importers.

The code change does not break any of unit tests in the library.

@kimkulling kimkulling left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine.

@kimkulling

Copy link
Copy Markdown
Member

You need to rebase.

@sonarqubecloud

sonarqubecloud Bot commented Apr 2, 2025

Copy link
Copy Markdown

@tellypresence tellypresence added the PLY Bugs related to the PLY format label Apr 11, 2025
* Correct IOStreamBuffer<T>::getNextLine() to prevent skipping too many '\n', which could be part of the BINARY part
* Add a regression test
@yurik42

yurik42 commented May 27, 2025

Copy link
Copy Markdown
Contributor Author

@kimkulling Do you expect any more actions from me to merge the PR?

@sonarqubecloud

Copy link
Copy Markdown

@kimkulling
kimkulling merged commit b973086 into assimp:master May 31, 2025
@kimkulling

Copy link
Copy Markdown
Member

Merged, thanks a lot for your contribution.

@afavray-modjaw

afavray-modjaw commented May 11, 2026 •

Copy link
Copy Markdown

Seems to fix #5341, thanks!
I will check it ASAP.

kimkulling pushed a commit that referenced this pull request Jul 1, 2026
* Correct IOStreamBuffer<T>::getNextLine() to prevent skipping too many '\n', which could be part of the BINARY part
* Add a regression test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PLY Bugs related to the PLY format

Projects

Development

Successfully merging this pull request may close these issues.

5 participants