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

BoxDrawing: stop triggering Cesium debug asserts #7439

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pjonsson
Copy link
Contributor

@pjonsson pjonsson commented Jan 3, 2025

What this PR does

Stops triggering Cesium debug asserts when running the test suite.

Test me

The changed initialization in lib is the destination object, so that is immediately overwritten after creation, hence no functional change.

The changed initialization in test doesn't matter since the test only validates that the function returns a result.

Checklist

  • There are unit tests to verify my changes are correct or unit tests aren't applicable (if so, write quick reason why unit tests don't exist)
  • I've updated relevant documentation in doc/.
  • I've updated CHANGES.md with what I changed.
  • I've provided instructions in the PR description on how to test this PR.

Scaling to 0 triggers the debug
asserts in Cesium.
The debug asserts in Cesium
wants the Plane to have
a valid normal, so init with
UNIT_X.
@pjonsson pjonsson mentioned this pull request Jan 3, 2025
7 tasks
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.

1 participant