diff options
author | Callum Prentice <callum@lindenlab.com> | 2014-07-21 13:26:48 -0700 |
---|---|---|
committer | Callum Prentice <callum@lindenlab.com> | 2014-07-21 13:26:48 -0700 |
commit | c25105945a9d74e331cae4d827fc3be8d8915b7a (patch) | |
tree | 894c4f663fecc5659e2e1afbe7a815fd0b921f4f /indra/newview/llviewerwindow.cpp | |
parent | f5c7d69317af103b5f5f762d7e0adb82f12a71b3 (diff) | |
parent | 532433674c9553636af9ea8d433b9da6d6fae587 (diff) |
Merge with head of viewer-release
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-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 d052906bee..4d263c118b 100755 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -1075,7 +1075,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 |