diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2020-01-30 17:51:41 +0200 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2020-01-30 17:51:41 +0200 |
commit | 2c7a8a2485b98ff56e6fdc431bba5ccd226ae740 (patch) | |
tree | 839b7dd57c46a40c0d21ab0a8dee20f4c3d6c545 /indra/newview/llagentcamera.h | |
parent | e865c94513ea22f06ceab4c3698cb180fb30707a (diff) |
SL-12618 FIXED The camera zoom position is incorrect after selecting the preset in some cases
Diffstat (limited to 'indra/newview/llagentcamera.h')
-rw-r--r-- | indra/newview/llagentcamera.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llagentcamera.h b/indra/newview/llagentcamera.h index af65ab431a..128974666e 100644 --- a/indra/newview/llagentcamera.h +++ b/indra/newview/llagentcamera.h @@ -272,10 +272,10 @@ public: // Zoom //-------------------------------------------------------------------- public: - void handleScrollWheel(S32 clicks); // Mousewheel driven zoom - void cameraZoomIn(const F32 factor); // Zoom in by fraction of current distance - F32 getCameraZoomFraction(); // Get camera zoom as fraction of minimum and maximum zoom - void setCameraZoomFraction(F32 fraction); // Set camera zoom as fraction of minimum and maximum zoom + void handleScrollWheel(S32 clicks); // Mousewheel driven zoom + void cameraZoomIn(const F32 factor); // Zoom in by fraction of current distance + F32 getCameraZoomFraction(bool get_third_person = false); // Get camera zoom as fraction of minimum and maximum zoom + void setCameraZoomFraction(F32 fraction); // Set camera zoom as fraction of minimum and maximum zoom F32 calcCameraFOVZoomFactor(); F32 getAgentHUDTargetZoom(); |