diff options
Diffstat (limited to 'linden/indra/newview/lltoolpie.cpp')
-rw-r--r-- | linden/indra/newview/lltoolpie.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/newview/lltoolpie.cpp b/linden/indra/newview/lltoolpie.cpp index 166209d..fa8213d 100644 --- a/linden/indra/newview/lltoolpie.cpp +++ b/linden/indra/newview/lltoolpie.cpp | |||
@@ -85,6 +85,8 @@ LLToolPie::LLToolPie() | |||
85 | 85 | ||
86 | BOOL LLToolPie::handleMouseDown(S32 x, S32 y, MASK mask) | 86 | BOOL LLToolPie::handleMouseDown(S32 x, S32 y, MASK mask) |
87 | { | 87 | { |
88 | if (!gCamera) return FALSE; | ||
89 | |||
88 | //left mouse down always picks transparent | 90 | //left mouse down always picks transparent |
89 | gViewerWindow->hitObjectOrLandGlobalAsync(x, y, mask, leftMouseCallback, | 91 | gViewerWindow->hitObjectOrLandGlobalAsync(x, y, mask, leftMouseCallback, |
90 | TRUE, TRUE); | 92 | TRUE, TRUE); |