diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-04-01 17:25:42 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-04-01 17:25:42 +0100 |
commit | fb08c17cdda47051fcfffc9cc8ff590e34c6ef94 (patch) | |
tree | 0ffa8ad903dc5b81192278141127146e9cd3c94d /indra | |
parent | 56dbd313a156a6913d791c920d0023f5451c657f (diff) |
Checker: UNINIT_CTOR
Function: LLAgentCamera::LLAgentCamera()
File: /indra/newview/llagentcamera.cpp
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llagentcamera.cpp | 4 | ||||
-rw-r--r-- | indra/newview/llagentcamera.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/llagentcamera.cpp b/indra/newview/llagentcamera.cpp index e8ffe9708b..908bcfab6a 100644 --- a/indra/newview/llagentcamera.cpp +++ b/indra/newview/llagentcamera.cpp @@ -107,6 +107,8 @@ LLAgentCamera gAgentCamera; // LLAgentCamera() //----------------------------------------------------------------------------- LLAgentCamera::LLAgentCamera() : + mInitialized(false), + mDrawDistance( DEFAULT_FAR_PLANE ), mLookAt(NULL), @@ -219,7 +221,7 @@ void LLAgentCamera::init() mCameraZoomFraction = 1.f; mTrackFocusObject = gSavedSettings.getBOOL("TrackFocusObject"); - mInitialized = TRUE; + mInitialized = true; } //----------------------------------------------------------------------------- diff --git a/indra/newview/llagentcamera.h b/indra/newview/llagentcamera.h index 1e55e18d2a..5cbb1de6f4 100644 --- a/indra/newview/llagentcamera.h +++ b/indra/newview/llagentcamera.h @@ -82,7 +82,7 @@ public: void cleanup(); void setAvatarObject(LLVOAvatarSelf* avatar); private: - BOOL mInitialized; + bool mInitialized; //-------------------------------------------------------------------- |