diff options
Diffstat (limited to 'indra/newview/llagent.h')
-rw-r--r-- | indra/newview/llagent.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llagent.h b/indra/newview/llagent.h index b50fb745ca..281b2d0c88 100644 --- a/indra/newview/llagent.h +++ b/indra/newview/llagent.h @@ -525,7 +525,7 @@ public: BOOL sitCameraEnabled() { return mSitCameraEnabled; } - F32 getCurrentCameraBuildOffset() { return (F32)mCameraFocusOffset.magVec(); } + F32 getCurrentCameraBuildOffset() { return (F32)mCameraFocusOffset.length(); } // look at behavior BOOL setLookAt(ELookAtType target_type, LLViewerObject *object = NULL, LLVector3 position = LLVector3::zero); |