-
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
camera.flyToBoundingSphere doesn't respect range when radius is zero #2519
Labels
Comments
Thanks for the report. |
mramato
added a commit
that referenced
this issue
Mar 2, 2015
Fixes #2519 I also tweaked `distanceToBoundingSphere2D` because it was giving incorrect results on my machine.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https:/AnalyticalGraphicsInc/cesium/blob/1.6/Source/Scene/Camera.js#L2490-L2495
I'd say it should be wrapped with
if (!offset.range) { ... }
to only change the range if it wasn't provided
The text was updated successfully, but these errors were encountered: