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

Factor out NearClipPlane from VisualBounds2D #8433

Merged
merged 8 commits into from
Dec 13, 2024
Merged

Conversation

grtlr
Copy link
Contributor

@grtlr grtlr commented Dec 12, 2024

Related

What

Title.

It looks like we never had a fallback provider for NearClipPlane. @Wumpf can you please confirm that this is correct? 🙏

@grtlr grtlr added the exclude from changelog PRs with this won't show up in CHANGELOG.md label Dec 12, 2024
@grtlr grtlr requested a review from Wumpf December 12, 2024 11:47
Copy link

github-actions bot commented Dec 12, 2024

Web viewer built successfully. If applicable, you should also test it:

  • I have tested the web viewer
Result Commit Link Manifest
59adbac https://rerun.io/viewer/pr/8433 +nightly +main

Note: This comment is updated whenever you push a commit.

Copy link

github-actions bot commented Dec 12, 2024

Latest documentation preview deployed successfully.

Result Commit Link
59adbac https://landing-ag8wu3mhe-rerun.vercel.app/docs

Note: This comment is updated whenever you push a commit.

Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

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

looking good!

It looks like we never had a fallback provider for NearClipPlane. @Wumpf can you please confirm that this is correct? 🙏

yup. In absence of a fallback provider, the fallback is determined by the "placeholder". The placeholder in turn is registered as part of the generated component reflection to be the Default::default if available. If this isn't present either, we generate a null arrow array. 😵

@Wumpf
Copy link
Member

Wumpf commented Dec 13, 2024

check_overrides_2d.py needs to be updated

@Wumpf Wumpf merged commit 0c13f96 into main Dec 13, 2024
37 checks passed
@Wumpf Wumpf deleted the grtlr/near-clip-archetype branch December 13, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exclude from changelog PRs with this won't show up in CHANGELOG.md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Separate NearClipRange from VisualBounds2d
2 participants