CesiumGS / CesiumGS/cesium

Camera changes when press middle button after `Camera.flyTo` animation finished

Open
#11,364 1 comment 0 reactions 0 assignees View on GitHub
category - camera type - bug
Dominant language
JavaScript
Stars
15.8k
Forks
3.9k
Avg merge
4d 6h
Merged PRs (30d)
34

Description

Sandcastle example: https://sandcastle.cesium.com/#c=bY9BS8NAEIX/ypBTAnGStWjBpkGIR8GD4imX6WZSFze7ZXeTEsX/btJSLLZzmnnzvseMtMYHGBTv2cEaDO+hYq/6Dt8PWlxH8jBX1gRShl0dJavaHAmU1LEjbPX4ZuPv2sBZNeyDMhSUNfBwSq3Ihakjs8DW2e6Jt47ZxzdCLFHcp7C4xaVIQdzleY558pf4k6yiNCp8GDWXJ/lRdTvrAvROx4hZ4G6nacrPNr385IDS+/nY2Vpk52jRqAFUs77yHUhN3k+bttf6VX1xHZVFNvkvUG2pUWb7MrDTNM62D1E+H0VELLJpvE4Ga/WG3L/kXw

Browser: Chrome

Operating System: Windows 10

description: when `Camera.flyTo` animation finished, I press middle button on the globe, the camera's orientation will suddenly changes, though this doesn't happens every time.

![GIF 2023-6-21 10-51-40](https://github.com/CesiumGS/cesium/assets/17463754/6c0fd9f7-cda4-4903-8265-5af24c6b1264)

Contributor guide

Open the contributing guide

Research direction

Start with the linked Sandcastle example and reproduce the issue in Chrome by letting Camera.flyTo finish, then pressing the globe's middle button repeatedly. Trace the camera behavior around the completed flyTo animation and middle-button input. Done means the camera orientation no longer changes unexpectedly after the animation finishes, including repeated reproductions.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.