summaryrefslogtreecommitdiff
path: root/indra/newview/llagentcamera.h
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2019-11-13 17:39:40 +0200
committermaxim_productengine <mnikolenko@productengine.com>2019-11-13 17:39:40 +0200
commit7637f343865960ee509ae31205c097f0bb04aac1 (patch)
tree45c20e7b9337d5a068ce0cf39ef0eef012b4c58a /indra/newview/llagentcamera.h
parent4778417f25f070e9019e975c979d93fb8881b5ac (diff)
SL-12186 WIP Get rid of excessive offset settings as we moved to store data in xml
Diffstat (limited to 'indra/newview/llagentcamera.h')
-rw-r--r--indra/newview/llagentcamera.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/indra/newview/llagentcamera.h b/indra/newview/llagentcamera.h
index 5c8172bbfc..8a922bf678 100644
--- a/indra/newview/llagentcamera.h
+++ b/indra/newview/llagentcamera.h
@@ -117,10 +117,6 @@ public:
/** Determines default focus offset depending on the current camera preset */
LLVector3d getFocusOffsetInitial();
- std::string getCameraOffsetCtrlName();
- std::string getCameraOffsetCtrlName(ECameraPreset preset);
- std::string getFocusOffsetCtrlName();
- std::string getFocusOffsetCtrlName(ECameraPreset preset);
private:
/** Determines maximum camera distance from target for mouselook, opposite to LAND_MIN_ZOOM */
F32 getCameraMaxZoomDistance();
@@ -128,11 +124,11 @@ private:
/** Camera preset in Third Person Mode */
ECameraPreset mCameraPreset;
- /** Initial camera offsets */
- std::map<ECameraPreset, LLPointer<LLControlVariable> > mCameraOffsetInitial;
+ /** Initial camera offset */
+ LLPointer<LLControlVariable> mCameraOffsetInitial;
- /** Initial focus offsets */
- std::map<ECameraPreset, LLPointer<LLControlVariable> > mFocusOffsetInitial;
+ /** Initial focus offset */
+ LLPointer<LLControlVariable> mFocusOffsetInitial;
//--------------------------------------------------------------------
// Position