Uncaught TypeError: Cannot assign to read only property ‘red’ of (1, 1, 0, 1) CzmlColor.js:99
And here is the highlight code:
onObjectSelected : function(selectedObject)
var selected = selectedObject !== undefined;
var objectSelected = selected && selectedObject.material && selectedObject.material.uniforms;
selectedObject.material.uniforms.color = Color.YELLOW;
selectedObjectId = selectedObject.dynamicObject.id;
Any ideas? I can open a new thread if you think it’s not related to my build. Again, this code works in the production build.