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

Gracefully log an error if there are too many points or lines #959

Merged
merged 2 commits into from
Jan 27, 2023

Conversation

Wumpf
Copy link
Member

@Wumpf Wumpf commented Jan 27, 2023

Instead of crashing/going black etc. we're now logging an error and clamp down the number of lines-strips/line-vertices or points when we have too many.

Fixes #951
New issue for lifting the restriction: #957

Checklist

  • I have read and agree to Contributor Guide and the Code of Conduct
  • I've included a screenshot or gif (if applicable)
  • I've added a line to CHANGELOG.md (if this is a big enough change to warrant it)

@teh-cmc teh-cmc self-requested a review January 27, 2023 15:15
Copy link
Member

@teh-cmc teh-cmc left a comment

Choose a reason for hiding this comment

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

Works great!

crates/re_renderer/src/renderer/point_cloud.rs Outdated Show resolved Hide resolved
@Wumpf Wumpf merged commit 80c8d3e into main Jan 27, 2023
@Wumpf Wumpf deleted the andreas/handle-too-many-points branch January 27, 2023 17:16
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.

nyud: history for points doesn't work past a certain value, then crashes outright
3 participants