MaskLayer breaks Giro3D
Summary
Steps to reproduce
- Use Piero at piero!73 (merged)
- Enable the mask layer "Mask Lyon boundary"
- Zoom out
Expected behaviour: everything works fine
Actual behaviour:
An exception is thrown and the view is broken
Uncaught TypeError: can't access property "originalOffsetScale", this.texturesInfo.color.infos[index] is undefined
setColorTextures LayeredMaterial.js:355
applyEmptyTextureToNode MaskLayer.js:58
processTarget Layer.js:714
update Layer.js:784
updateElements MainLoop.js:37
forEachLayer Map.js:1013
forEachLayer Map.js:1013
Informations
- Giro3D version: 0.37.0
- Browser (Firefox, Chrome, Opera, Safari...) and version: Firefox
- OS (Linux, MacOS, Windows...)