I have now managed to add a button in the preference menu and linked
it to a function, in which I wrote this code:

F32 fov = 90.f * DEG_TO_RAD;
LLViewerCamera::getInstance()->clearFOVOverride();
LLViewerCamera::getInstance()->setView(fov);

But if I log in with the viewer and hit the button, nothing
happens ... or better to say: I can't see a change of the field of
view.
Maybe someone does know where my error in reasopning is?

kind regards
Thomas

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/realxtend
http://www.realxtend.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to