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

Updating 3D Tiles style doesn't always update existing tiles #8618

Closed
mramato opened this issue Feb 18, 2020 · 3 comments · Fixed by #8622
Closed

Updating 3D Tiles style doesn't always update existing tiles #8618

mramato opened this issue Feb 18, 2020 · 3 comments · Fixed by #8622

Comments

@mramato
Copy link
Contributor

mramato commented Feb 18, 2020

The above image has a single 3D Tiles tileset being styled with a single green/peach style.

image

The differently styled data blue/white/beige data is the previous style I had applied which Cesium failed to update.

I don't have a reproducible test case yet, but it looks like it has to do with cancelling a camera flight mid-style change. Trying to write up a Sandcastle now.

@mramato
Copy link
Contributor Author

mramato commented Feb 18, 2020

Okay, here you go: Sandcastle

  1. Run the Sandcastle and pan to Central park, allow everything to finish loading. Here's the view I used

image

  1. Hit Fly to. The flight will start and you'll see styling is half-changed. Hit cancel and the unchanged tiles will not update to the new style

image

The demo has requestRender set, but I confirmed it happens in both cases.

@mramato
Copy link
Contributor Author

mramato commented Feb 18, 2020

My guess it's related to flight preloading? @loshjawrence @lilleyse any ideas?

@lilleyse
Copy link
Contributor

Another data point - calling tileset.makeStyleDirty() has no effect. We'll look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants