diff options
author | callum <none@none> | 2009-11-24 14:36:57 -0800 |
---|---|---|
committer | callum <none@none> | 2009-11-24 14:36:57 -0800 |
commit | fd74ba5467967cbdb5f7aca8b476080c66df2cd2 (patch) | |
tree | fac520db60d0b08aea8b803571a04c1a8037803d /indra/newview/llsidetray.cpp | |
parent | b0a31eaaee10b92df9e5aa80ccfeb25c5e797ac1 (diff) | |
parent | fa88f41cccb9aeb5ccfdafbf5da5b34b72be1108 (diff) |
Merge to tip
Diffstat (limited to 'indra/newview/llsidetray.cpp')
-rw-r--r-- | indra/newview/llsidetray.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llsidetray.cpp b/indra/newview/llsidetray.cpp index 7711f3c733..2f98435b83 100644 --- a/indra/newview/llsidetray.cpp +++ b/indra/newview/llsidetray.cpp @@ -34,6 +34,7 @@ #include "lltextbox.h" +#include "llagent.h" #include "llbottomtray.h" #include "llsidetray.h" #include "llviewerwindow.h" @@ -700,7 +701,7 @@ void LLSideTray::updateSidetrayVisibility() // set visibility of parent container based on collapsed state if (getParent()) { - getParent()->setVisible(!mCollapsed); + getParent()->setVisible(!mCollapsed && !gAgent.cameraMouselook()); } } |