Skip to content

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

Merged
Wumpf merged 2 commits intomainfrom
andreas/handle-too-many-points
Jan 27, 2023
Merged

Gracefully log an error if there are too many points or lines#959
Wumpf merged 2 commits intomainfrom
andreas/handle-too-many-points

Conversation

@Wumpf
Copy link
Copy Markdown
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
Copy Markdown
Contributor

@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!

@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