I'm having a bit of trouble with the new SetCameraMode, SetCameraFocus and the old GetCameraMode. I may just be confused on terminology.
Firstly when doing in default, what I call first person view:
always returns zero. I get one and two in mouse look and appearance edit, respectively. I would expect those values from inspecting the enum in indra/newviewer/llagent.h. It seems there might not be a value for 'default, first person view' because it really is 'third person view'?
Secondly, I cannot seem to change to third person view with:
to change the camera, though the output is true when attempting. Using the values one, minus one and minus two do mouse look, default and reset (though I can't really tell the difference in those last two). Again, I may be confusing this mode with 'Camera Front View', debug setting CameraFrontView?
Finally, and this is probably just cosmetic:
has no output though it does return the focus to my avatar when shifted elsewhere.
I'm using today's official build with the following:
and log: