summaryrefslogtreecommitdiff
path: root/indra/newview/llagentcamera.h
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2020-04-10 18:38:56 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2020-04-10 18:38:56 +0300
commit944b908be10367ae5770db03bddddd40cd4d18d8 (patch)
tree05217fe9a14ba18a1299de412ac9718b7689de61 /indra/newview/llagentcamera.h
parent1ec8c7a68adb10c78e1cc31182b797d6a2ae386f (diff)
SL-12994 FIXED [Camera Presets] Zoom fraction should be saved as a part of Camera preset, not as separate setting
Diffstat (limited to 'indra/newview/llagentcamera.h')
-rw-r--r--indra/newview/llagentcamera.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llagentcamera.h b/indra/newview/llagentcamera.h
index 357dd5e12a..420cc0b601 100644
--- a/indra/newview/llagentcamera.h
+++ b/indra/newview/llagentcamera.h
@@ -282,6 +282,9 @@ public:
F32 calcCameraFOVZoomFactor();
F32 getAgentHUDTargetZoom();
+ void resetCameraZoomFraction();
+ F32 getCurrentCameraZoomFraction() { return mCameraZoomFraction; }
+
//--------------------------------------------------------------------
// Pan
//--------------------------------------------------------------------