{"action":"closed","issue":{"url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/3336","labels_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/3336/labels{/name}","comments_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/3336/comments","events_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/3336/events","html_url":"https://github.com/AnalyticalGraphicsInc/cesium/issues/3336","id":121730175,"number":3336,"title":"Entity geometry fails to change color when show is time-dynamic","user":{"login":"mramato","id":1495196,"avatar_url":"https://avatars.githubusercontent.com/u/1495196?v=3","gravatar_id":"","url":"https://api.github.com/users/mramato","html_url":"https://github.com/mramato","followers_url":"https://api.github.com/users/mramato/followers","following_url":"https://api.github.com/users/mramato/following{/other_user}","gists_url":"https://api.github.com/users/mramato/gists{/gist_id}","starred_url":"https://api.github.com/users/mramato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mramato/subscriptions","organizations_url":"https://api.github.com/users/mramato/orgs","repos_url":"https://api.github.com/users/mramato/repos","events_url":"https://api.github.com/users/mramato/events{/privacy}","received_events_url":"https://api.github.com/users/mramato/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-11T15:32:56Z","updated_at":"2015-12-21T16:14:58Z","closed_at":"2015-12-21T16:14:58Z","body":"The following Sandcastle example will fail to turn the polygon blue.  Change `show` to simply be `true` and everything works.  This happens with all geometry.\r\n\r\n```javascript\r\nvar viewer = new Cesium.Viewer('cesiumContainer');\r\n\r\nvar entity = viewer.entities.add({\r\n    polygon : {\r\n        hierarchy : Cesium.Cartesian3.fromDegreesArray([-115.0, 37.0,\r\n                                                        -115.0, 32.0,\r\n                                                        -107.0, 33.0,\r\n                                                        -102.0, 31.0,\r\n                                                        -102.0, 35.0]),\r\n        show: new Cesium.CallbackProperty(function() {\r\n            return true;\r\n        }, false),\r\n        material : Cesium.Color.RED\r\n    }\r\n});\r\n\r\nSandcastle.addToolbarButton('Make it blue', function(){\r\n    entity.polygon.material = Cesium.Color.BLUE;\r\n});\r\n```"}}