aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lltoolcomp.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/lltoolcomp.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/linden/indra/newview/lltoolcomp.cpp b/linden/indra/newview/lltoolcomp.cpp
index 8898dcb..2c2c0fe 100644
--- a/linden/indra/newview/lltoolcomp.cpp
+++ b/linden/indra/newview/lltoolcomp.cpp
@@ -4,6 +4,7 @@
4 * 4 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 5 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 6 *
7 * Second Life Viewer Source Code
7 * The source code in this file ("Source Code") is provided by Linden Lab 8 * The source code in this file ("Source Code") is provided by Linden Lab
8 * to you under the terms of the GNU General Public License, version 2.0 9 * to you under the terms of the GNU General Public License, version 2.0
9 * ("GPL"), unless you have obtained a separate licensing agreement 10 * ("GPL"), unless you have obtained a separate licensing agreement
@@ -755,6 +756,11 @@ BOOL LLToolCompGun::handleMouseUp(S32 x, S32 y, MASK mask)
755 756
756void LLToolCompGun::onMouseCaptureLost() 757void LLToolCompGun::onMouseCaptureLost()
757{ 758{
759 if (mComposite)
760 {
761 mComposite->onMouseCaptureLost();
762 return;
763 }
758 mCur->onMouseCaptureLost(); 764 mCur->onMouseCaptureLost();
759 765
760 // JC - I don't know if this is necessary. Maybe we could lose capture 766 // JC - I don't know if this is necessary. Maybe we could lose capture