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

Point_set_3: property uchar refers to the range 0..255 not the char type #8004

Merged
merged 2 commits into from
Feb 13, 2024

Conversation

afabri
Copy link
Member

@afabri afabri commented Jan 26, 2024

Summary of Changes

In the ply file format one specifies in the header the type of properties. For a color one typically writes property uchar red, and then later writes a number between 0 and 255. We wrote a single char which is a mistake and was reported in issue #7996. Note that even the CGAL ply reader cannot read it. And there is a comment in the reader which explains that it reads an integer string and not a single char.

Release Management

@sloriot
Copy link
Member

sloriot commented Feb 13, 2024

Successfully tested in CGAL-6.0-Ic-169

@lrineau lrineau self-assigned this Feb 13, 2024
@lrineau lrineau added the rm only: ready for master For the release team only: that indicates that a PR is about to be merged in 'master' label Feb 13, 2024
@lrineau lrineau merged commit a63babb into CGAL:5.6.x-branch Feb 13, 2024
8 checks passed
lrineau added a commit that referenced this pull request Feb 13, 2024
Point_set_3: property uchar refers to the range 0..255 not the char type
@lrineau lrineau linked an issue Feb 13, 2024 that may be closed by this pull request
@lrineau lrineau removed the rm only: ready for master For the release team only: that indicates that a PR is about to be merged in 'master' label Feb 13, 2024
@lrineau lrineau deleted the Point_set-fix_issue_7996-GF branch February 13, 2024 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

planes_point_set_3.ply in wrong format
3 participants