-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Change DataSourceDisplay
ready state behavior for bounding sphere calculations
#12429
Conversation
Thank you for the pull request, @jjspace! ✅ We can confirm we have a CLA on file for you. |
##### Breaking Changes :mega: | ||
|
||
- Changed behavior of `DataSourceDisplay.ready` to always stay `true` once it is initially set to `true`. | ||
|
||
##### Fixes :wrench: | ||
|
||
- Fixed error when resetting `Cesium3DTileset.modelMatrix` to its initial value. [#12409](https://github.com/CesiumGS/cesium/pull/12409) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't forget to add a link to the fixed issue as well. 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was waiting to see the PR number, updated 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, too soon 🏃♀️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That looks good to me @jjspace ! Having different scratch objects seems so obvious now that I see it... Thanks |
Awesome, thanks for taking a look @jfayot. The primary thing that helped was making sure the ready state stays |
Awesome! I see what you did, much better. Thanks! |
Thanks @jjspace! This looks good to go once https://github.com/CesiumGS/cesium/pull/12429/files#r1913711954 is addressed. |
@ggetz should be got to go |
Awesome, thanks @jjspace, @jfayot, and @Levi-Montgomery! Glad we got to the bottom of this. |
Description
Slightly reverting the change in #12230 and replacing PR #12322 in favor of changing the
ready
value to fix both #4647 and the newer issue #12303.The core of this change is to make the
DataSourceDisplay._ready
boolean to remaintrue
once it's set totrue
even if the internal datasources become "un-ready" due to transformations or loading.Issue number and link
Alternative fix for #4647
Fixes #12303
Testing plan
viewer.selectedEntity
Author checklist
CONTRIBUTORS.md
CHANGES.md
with a short summary of my change