supermedium/superframe

atlas-uvs component: loss of UVs coordinates when changing geometry

Closed this issue · 0 comments

Hi everyone. I found a strange issue when using mixin with atlas-uvs component. I create an a-entity element via JS, add to it a mixin containing the texture, plane geometry with props, the atlas-uvs component and a mixin containing the coordinate of the atlas-uvs component. It works good.
But after updating one of the properties of the geometry attribute (height), the coordinate of the atlas-uvs component is lost and I need to update it again. That is, the texture is displayed in its entirety, and not the area specified through the atlas-uvs coordinate. Maybe anyone know how this can be fixed? Thanks