Skip to content

Logs: only log once per unsupported primitive mode #1634

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

Merged

Conversation

Julot94
Copy link
Contributor

@Julot94 Julot94 commented Mar 18, 2025

In our context, we load many tilesets using the 'LINES' primitive mode, so logging the warning for each primitive would result in many redundancies...

@kring kring added this to the May 2025 Release milestone Apr 1, 2025
@j9liu j9liu self-requested a review April 8, 2025 14:30
Copy link
Contributor

@j9liu j9liu left a comment

Choose a reason for hiding this comment

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

Thanks @Julot94 ! This looks great to me, just a few small changes to keep in line with our style guide.

Julot added 2 commits April 8, 2025 17:58
In our context, we load many tilesets using the 'LINES' primitive mode, so
logging the warning for each primitive would result in many redundancies...
@Julot94 Julot94 force-pushed the unsupported-primitive-logging-no-repeat branch from 60f1f4a to fdfe329 Compare April 8, 2025 16:06
@j9liu
Copy link
Contributor

j9liu commented Apr 10, 2025

@Julot94 just confirming if this is ready for another review? (I see new commits but didn't want to assume)

@Julot94
Copy link
Contributor Author

Julot94 commented Apr 10, 2025

@Julot94 just confirming if this is ready for another review? (I see new commits but didn't want to assume)

Yes, it is (I should have added a separate comment to avoid confusion, sorry)

@j9liu
Copy link
Contributor

j9liu commented Apr 10, 2025

No worries, thanks @Julot94 ! I'll merge this now 🙌

@j9liu j9liu merged commit c2ba415 into CesiumGS:main Apr 10, 2025
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.

3 participants