diff options
author | Richard Linden <none@none> | 2012-11-16 23:02:53 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2012-11-16 23:02:53 -0800 |
commit | 6db6cb39f41e921e75970d1570a74cf35d353a35 (patch) | |
tree | 141e276bfb93ba8b3b7f3ff12d730f3f3cbf5f22 /indra/newview/llagentcamera.cpp | |
parent | c136b432140f892a56d4996d5ed77e903ff0b32d (diff) |
SH-3406 WIP convert fast timers to lltrace system
got new fast timer code to compile and run
Diffstat (limited to 'indra/newview/llagentcamera.cpp')
-rw-r--r-- | indra/newview/llagentcamera.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llagentcamera.cpp b/indra/newview/llagentcamera.cpp index 8d80e3aa0a..4e6079e3f2 100644 --- a/indra/newview/llagentcamera.cpp +++ b/indra/newview/llagentcamera.cpp @@ -1137,13 +1137,14 @@ void LLAgentCamera::updateLookAt(const S32 mouse_x, const S32 mouse_y) } } +static LLFastTimer::DeclareTimer FTM_UPDATE_CAMERA("Camera"); + //----------------------------------------------------------------------------- // updateCamera() //----------------------------------------------------------------------------- void LLAgentCamera::updateCamera() { - static LLFastTimer::DeclareTimer ftm("Camera"); - LLFastTimer t(ftm); + LLFastTimer t(FTM_UPDATE_CAMERA); // - changed camera_skyward to the new global "mCameraUpVector" mCameraUpVector = LLVector3::z_axis; |