We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 338d7dc commit efc081fCopy full SHA for efc081f
1 file changed
indra/newview/llagentcamera.cpp
@@ -2242,8 +2242,8 @@ LLVector3d LLAgentCamera::getFocusOffsetInitial()
2242
// [RLVa:KB] - @setcam_eyeoffsetscale
2243
F32 LLAgentCamera::getCameraOffsetScale() const
2244
{
2245
- static LLCachedControl<F32> camera_offset_scale(gSavedSettings, "CameraOffsetScale");
2246
- static LLCachedControl<F32> camera_offset_scale_rlv(gSavedSettings, "CameraOffsetScaleRLVa");
+ static LLCachedControl<F32> camera_offset_scale(gSavedSettings, "CameraOffsetScale", 1.0f);
+ static LLCachedControl<F32> camera_offset_scale_rlv(gSavedSettings, "CameraOffsetScaleRLVa", 0.0f);
2247
return (ECameraPreset::CAMERA_RLV_SETCAM_VIEW != mCameraPreset) ? camera_offset_scale : camera_offset_scale_rlv;
2248
}
2249
// [/RLVa:KB]
0 commit comments