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

Disable flights during morph #1596

Open
bagnell opened this issue Mar 31, 2014 · 5 comments
Open

Disable flights during morph #1596

bagnell opened this issue Mar 31, 2014 · 5 comments

Comments

@bagnell
Copy link
Contributor

bagnell commented Mar 31, 2014

  • Run the Sandcastle camera example
  • Switch to CV. Try to click "Fly to My Location" during the morph.
  • Switch to 2D. The globe will disappear during the morph. This does not happen if we don't click "Fly to My Location."
@pjcozzi pjcozzi mentioned this issue Apr 8, 2014
19 tasks
@mramato mramato added the bug label Jul 31, 2014
@hpinkos
Copy link
Contributor

hpinkos commented Oct 14, 2015

Instead of the globe disappearing, a developer error is thrown if you try to fly during a morph:

Uncaught DeveloperError: lookAtTransform is not supported while morphing.

Can we close this?

@pjcozzi
Copy link
Contributor

pjcozzi commented Oct 14, 2015

Can we fix the Sandcastle example to disable the flight while morphing?

@hpinkos
Copy link
Contributor

hpinkos commented Oct 14, 2015

Just kidding, this is actually still an issue.
In the camera example remove line 258
viewer.camera.lookAtTransform(Cesium.Matrix4.IDENTITY);

That's what was causing the crash.

@pjcozzi
Copy link
Contributor

pjcozzi commented Oct 21, 2016

@hpinkos should we keep this open after #4496?

@hpinkos
Copy link
Contributor

hpinkos commented Oct 21, 2016

@pjcozzi #4496 made it so the sandcastle example won't crash, but I feel like we should probably make changes to Camera.flyTo should wait until the scene morph finishes before creating the CameraFlightPath. So I think this should stay open

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

No branches or pull requests

4 participants