diff options
author | andreykproductengine <akleshchev@productengine.com> | 2016-01-06 20:28:44 +0200 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2016-01-06 20:28:44 +0200 |
commit | c9c6966364ba59171313ec179b8b19f920ea6888 (patch) | |
tree | a09ed6ed94651ca405d6e32b7dad36cf5f2b38e8 /indra/newview/llagent.h | |
parent | 28c705fd1cc704ebff91339f87671337bd8987b9 (diff) |
MAINT-4488 [PUBLIC] llTakeControls(*,FALSE,TRUE) prevents left clicks from mouselook.
Diffstat (limited to 'indra/newview/llagent.h')
-rwxr-xr-x | indra/newview/llagent.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/newview/llagent.h b/indra/newview/llagent.h index a8689dd5a6..9e8550e280 100755 --- a/indra/newview/llagent.h +++ b/indra/newview/llagent.h @@ -432,7 +432,8 @@ private: // Grab //-------------------------------------------------------------------- public: - BOOL leftButtonGrabbed() const; + BOOL leftButtonGrabbed() const; + BOOL leftButtonBlocked() const; BOOL rotateGrabbed() const; BOOL forwardGrabbed() const; BOOL backwardGrabbed() const; @@ -449,8 +450,9 @@ public: BOOL controlFlagsDirty() const; void enableControlFlagReset(); void resetControlFlags(); - BOOL anyControlGrabbed() const; // True iff a script has taken over a control - BOOL isControlGrabbed(S32 control_index) const; + BOOL anyControlGrabbed() const; // True if a script has taken over any control + BOOL isControlGrabbed(S32 control_index) const; // True if a script has taken over a control + BOOL isControlBlocked(S32 control_index) const; // Control should be ignored or won't be passed // Send message to simulator to force grabbed controls to be // released, in case of a poorly written script. void forceReleaseControls(); |