1. A concise explanation of the problem you’re experiencing.
I’m using the CallbackProperty for a polyline material color and that is working as I would expect. After a user performs an action in my application I want to change the polyline material to a constant color so that the material is no longer evaluating every frame and this new color lives outside of the callback. After I set the new material it doesn’t change the color, but if I set the material a second time; it works fine. Am I using the callback property incorrectly or is Cesium ignoring my first attempt to change the value of the material for some reason?
2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.
Here is a simplified version that shows the problem.
3. The Cesium version you’re using, your operating system and browser.