HUD elements using llWorldPosToHUD become offset after interacting with the mesh upload preview.
tracked
Shadoskill Heckroth
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
Log In
Dan Linden
marked this post as
tracked
Dan Linden
Thank you for the report, Shadoskill!
Issue tracked at https://github.com/secondlife/viewer/issues/5248. We have no estimate when it may be implemented. Please see future updates here.
WolfGang Senizen
Possible fix PR made, https://github.com/secondlife/viewer/pull/5240
Shadoskill Heckroth
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.