diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2014-02-24 12:56:34 +0200 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2014-02-24 12:56:34 +0200 |
commit | 82cbe362156a187f51621db091dbdca8a8c7487a (patch) | |
tree | a717f6a6fa054fc7967b50e3b1bd8a3336b6c14c /indra/newview | |
parent | ea944fd58f6fcaf29a939ed10e9fd5e07b9fb923 (diff) |
MAINT-2062 FIXED Don't show the pie menu if user is not logged in.
Diffstat (limited to 'indra/newview')
-rwxr-xr-x | indra/newview/llviewerwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 3193a2955b..be4af23d07 100755 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -1059,7 +1059,7 @@ BOOL LLViewerWindow::handleRightMouseDown(LLWindow *window, LLCoordGL pos, MASK // *HACK: this should be rolled into the composite tool logic, not // hardcoded at the top level. - if (CAMERA_MODE_CUSTOMIZE_AVATAR != gAgentCamera.getCameraMode() && LLToolMgr::getInstance()->getCurrentTool() != LLToolPie::getInstance()) + if (CAMERA_MODE_CUSTOMIZE_AVATAR != gAgentCamera.getCameraMode() && LLToolMgr::getInstance()->getCurrentTool() != LLToolPie::getInstance() && gAgent.isInitialized()) { // If the current tool didn't process the click, we should show // the pie menu. This can be done by passing the event to the pie |