llGetCameraFOV returns default value unless the agent has changed their FOV on the current region
complete
Nadnerb Tebaldi
What it says on the tin. After logging in or crossing to a new region, llGetCameraFOV returns 1.047198 (60 degrees) until the user changes their FOV on that region, after which it will report the correct value.
This causes problems as projections will be wrong after crossing any borders with a non-default FOV, and immediately on login if the viewer's default is not 60 degrees.
Log In
This post was marked as
complete
Leviathan Linden
in progress
Leviathan Linden
The dev work for fixing this bug is done, but it not yet deployed. This issue is still IN_PROGRESS rather than COMPLETE.
This post was marked as
complete
Maestro Linden
tracked
Maestro Linden
Nadnerb Tebaldi thanks for the report. I can reproduce this issue Second Life Release 7.1.5.8443591509 (64bit) on Second Life Server 2024-03-18.8333615376 by using the example script found here: https://wiki.secondlife.com/wiki/LlGetCameraFOV
At the viewer's initial logion region, the viewer sends an AgentFOV message and the script reports the correct custom camera FOV. However, if my agent crosses or teleports into another region, the default FOV (1.047198) is reported.
I'm not sure if FOV is supposed to be forwarded between the simulators on region crossing, but it definitely could be done. The viewer does
not
send another AgentFOV message to the new simulator after crossing, so it could also be blamed for this issue.