Skip to content

HUD elements using llWorldPosToHUD become offset after interacting with the mesh upload preview.Β #5248

@canny

Description

@canny

When uploading a mesh and moving the mesh uploader preview camera, any HUDs that use llWorldPosToHUD become offset from their correct positions.

After closing the mesh uploader, the offset persists. The only way to fully resolve the issue is to relog. Zooming out in the mesh uploader preview can make the HUD appear closer to the correct position, but does not fully fix the problem.

This issue has been occurring for approximately a year, I only just identified the mesh uploader as the cause.

Expected behavior:

HUDs using llWorldPosToHUD should remain correctly aligned regardless of interaction with the mesh upload preview.

Actual behavior:

HUDs become permanently offset after moving the mesh uploader preview camera until the user relogs.

Viewers affected:

  • Second Life Viewer

  • Firestorm

  • Alchemy

default {
    state_entry() {
        llRequestPermissions(llGetOwner(),PERMISSION_TRACK_CAMERA);
    }
    run_time_permissions(integer perms) {
        if(perms & PERMISSION_TRACK_CAMERA) {
            llSetTimerEvent(0.1);
        }
    }
    timer() {
        llSetText((string)llGetCameraFOV(),<1,1,1>,1);
    }
}

Using this as a test, it seems to be FOV related.

https://secondlife.canny.io/admin/board/bug-reports/p/hud-elements-using-llworldpostohud-become-offset-after-interacting-with-the-mesh



This repo is using Opire - what does it mean? πŸ‘‡
πŸ’΅ Everyone can add rewards for this issue commenting /reward 100 (replace 100 with the amount).
πŸ•΅οΈβ€β™‚οΈ If someone starts working on this issue to earn the rewards, they can comment /try to let everyone know!
πŸ™Œ And when they open the PR, they can comment /claim #5248 either in the PR description or in a PR's comment.

πŸͺ™ Also, everyone can tip any user commenting /tip 20 @canny[bot] (replace 20 with the amount, and @canny[bot] with the user to tip).

πŸ“– If you want to learn more, check out our documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions