summaryrefslogtreecommitdiff
path: root/indra/newview/llagent.h
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2015-04-14 09:34:49 -0700
committerRider Linden <rider@lindenlab.com>2015-04-14 09:34:49 -0700
commit82ae214f6a367e17dd335e80e2444cf672108821 (patch)
tree5a2ebb115b0674698cfb0d9cbd879add63d88ece /indra/newview/llagent.h
parentfe8dec32dbdd6085dd582c49134551638561ca0e (diff)
parenta49e11efd9e249cc6d3cf5bcffaafe1e831f2fa9 (diff)
Merged lindenlab/viewer-tools-update into default
Diffstat (limited to 'indra/newview/llagent.h')
-rwxr-xr-xindra/newview/llagent.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llagent.h b/indra/newview/llagent.h
index 9ffc9b9a7a..1bad35751f 100755
--- a/indra/newview/llagent.h
+++ b/indra/newview/llagent.h
@@ -522,6 +522,9 @@ public:
void moveYaw(F32 mag, bool reset_view = true);
void movePitch(F32 mag);
+ BOOL isMovementLocked() const { return mMovementKeysLocked; }
+ void setMovementLocked(BOOL set_locked) { mMovementKeysLocked = set_locked; }
+
//--------------------------------------------------------------------
// Move the avatar's frame
//--------------------------------------------------------------------
@@ -576,6 +579,7 @@ private:
void (*mAutoPilotFinishedCallback)(BOOL, void *);
void* mAutoPilotCallbackData;
LLUUID mLeaderID;
+ BOOL mMovementKeysLocked;
/** Movement
** **