Minimap textures of avatar's region often don't render correctly
tracked
Ansariel Hiller
This can easily reproduced by the following steps:
- Have the minimap open
- Teleport to a far away location either via landmark or teleport history - do NOT use the world map to navigate to that location
- Notice the texture the own avatar is in often is rendered gray (see screenshot)
This bug is caused by the changes made to the minimap in this commit: https://github.com/secondlife/viewer/commit/ab87978cbc71cd4c83648627998055a010700f05
In particular, the problem seems to be in LLSurface::createSTexture(): If the world map tile hasn't been fetched already, the created texture will be nothing but gray. Changing the if-check from
if (!mSTexturep)
to
if (mSTexturep.isNull() || !mSTexturep->hasGLTexture())
seem to fix the issue. However, I am not sure if this is the correct approach/fix, since the method would be called per draw until the texture has been properly created.
Log In
Dan Linden
tracked
Dan Linden
Thank you for the report, Ansariel!
Issue tracked. We have no estimate when it may be implemented. Please see future updates here.