diff options
| author | brad kittenbrink <brad@lindenlab.com> | 2009-09-18 15:22:25 -0400 |
|---|---|---|
| committer | brad kittenbrink <brad@lindenlab.com> | 2009-09-18 15:22:25 -0400 |
| commit | bb1d4592bdc83f23a60c864ef291c58912d93935 (patch) | |
| tree | dfb29728340b1fef59227775ecc47aaab117fdd2 /indra/newview/llagent.cpp | |
| parent | 91645140d495da4faf1e4905bb8b96c6af579277 (diff) | |
| parent | 8e7ba92eb9e0371385e3de9a76cc11355be8a974 (diff) | |
Merged latest viewer/viewer-20 into login-api.
Diffstat (limited to 'indra/newview/llagent.cpp')
| -rw-r--r-- | indra/newview/llagent.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index 08681db6cb..ab9db303b5 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -35,6 +35,7 @@ #include "llagent.h" #include "llagentwearables.h" +#include "llagentlistener.h" #include "llanimationstates.h" #include "llcallingcard.h" #include "llconsole.h" @@ -256,6 +257,7 @@ LLAgent::LLAgent() : mHUDTargetZoom(1.f), mHUDCurZoom(1.f), mInitialized(FALSE), + mListener(), mForceMouselook(FALSE), mDoubleTapRunTimer(), @@ -384,6 +386,8 @@ LLAgent::LLAgent() : } mFollowCam.setMaxCameraDistantFromSubject( MAX_CAMERA_DISTANCE_FROM_AGENT ); + + mListener.reset(new LLAgentListener(*this)); } // Requires gSavedSettings to be initialized. |
