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

Cesium render loop crashes when double clicking access line on a zoomed-to object #6848

Closed
MattPetry opened this issue Jul 26, 2018 · 1 comment

Comments

@MattPetry
Copy link
Contributor

The attached czml document demonstrates this behavior. Steps to reproduce:

  1. Load the czml
  2. Double click ISS to zoom to it
  3. Double click the access line between ISS and the ground station
  4. Cesium shows an error message

I've seen this in versions 1.44 and 1.47

accessLine.czml.txt

@mramato
Copy link
Contributor

mramato commented Jul 26, 2018

Thanks @MattPetry!

This looks like a clear cut bug to me on line 2022 of Viewer.js

camera.viewBoundingSphere(boundingSphere, viewer._zoomOptions.offset);

viewer._zoomOptions should just be the locally scoped zoomOptions (which is always defined, while the former is not).

If someone wants to confirm this and open a PR, that would be great. Thanks.

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

No branches or pull requests

2 participants