[go: up one dir, main page]

MaskLayer breaks Giro3D

Summary

Steps to reproduce

  1. Use Piero at piero!73 (merged)
  2. Enable the mask layer "Mask Lyon boundary"
  3. 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...)