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

Polyline color not updated when hidden #5371

Closed
rahwang opened this issue May 26, 2017 · 5 comments
Closed

Polyline color not updated when hidden #5371

rahwang opened this issue May 26, 2017 · 5 comments

Comments

@rahwang
Copy link
Contributor

rahwang commented May 26, 2017

Reported in the forum: https://groups.google.com/forum/?hl=en#!topic/cesium-dev/Z0vcp_Fxs9o

When a polyline's color is modified while it is hidden, the color update is not applied. When the polyline is shown again, the color is the same as it was originally.

Here's a minimal Sandcastle example:
https://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Hello%20World.html&label=Showcases&gist=65b063743b1b18d718fdecd60dc134e9

Instructions to reproduce:

  • Select "Hide line" from drop down
  • Select "Color line", which should make line blue
  • Select "Show line" and line appears but is red
  • Select "Color line" again and line is still red
  • Select "Show line" and then "Color line" and finally line turns blue
@mramato
Copy link
Contributor

mramato commented May 26, 2017

Thanks @rahwang! When writing up issues please include a full description of the bug and the exact steps to reproduce it as part of the description. The links provide more context, but everything a we need to reproduce should be in the issue itself.

@rahwang
Copy link
Contributor Author

rahwang commented May 26, 2017

Gotcha @mramato ! Updated

@rahwang
Copy link
Contributor Author

rahwang commented Jul 28, 2017

@hpinkos
Copy link
Contributor

hpinkos commented Feb 21, 2018

Duplicate #2909

@hpinkos hpinkos closed this as completed Feb 21, 2018
@cesium-concierge
Copy link

Congratulations on closing the issue! I found these Cesium forum links in the comments above:

https://groups.google.com/forum/?hl=en#!topic/cesium-dev/Z0vcp_Fxs9o
https://groups.google.com/d/msg/cesium-dev/ZLxWrn_3joE/f8xClwppAwAJ

If this issue affects any of these threads, please post a comment like the following:

The issue at #5371 has just been closed and may resolve your issue. Look for the change in the next stable release of Cesium or get it now in the master branch on GitHub https://github.com/AnalyticalGraphicsInc/cesium.


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

🌍 🌎 🌏

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

5 participants