diff options
Diffstat (limited to 'indra/newview/llagent.h')
-rwxr-xr-x | indra/newview/llagent.h | 4 |
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 ** ** |