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

Return the GroundPolylinePrimitive when a ground polyline is picked #6924

Merged
merged 1 commit into from
Aug 16, 2018

Conversation

bagnell
Copy link
Contributor

@bagnell bagnell commented Aug 15, 2018

Return the correct primitive when a polyline clamped to ground is picked.

Fixes #6907. GroundPolylinePrimitive is built on top of Primitive. When the polyline was picked, the primitive returned was its Primitive. drillPick was setting this show to false and the polyline update was resetting it to true on the next pick. This was causing and infinite loop.

@cesium-concierge
Copy link

Thanks for the pull request @bagnell!

  • ✔️ Signed CLA found.

Reviewers, don't forget to make sure that:

  • Cesium Viewer works.
  • Works in 2D/CV.
  • Works (or fails gracefully) in IE11.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.

🌍 🌎 🌏

@hpinkos
Copy link
Contributor

hpinkos commented Aug 16, 2018

Perfect, thanks @bagnell!

@hpinkos hpinkos merged commit 8ff642f into master Aug 16, 2018
@hpinkos hpinkos deleted the polyline-picking branch August 16, 2018 14:50
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

Successfully merging this pull request may close these issues.

3 participants