summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-10-19 23:11:10 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-10-19 23:12:55 +0300
commitacf771a47e0f41e2a2e62d51b243d79b40a5d680 (patch)
tree2f9d0f9c770a03b46893a6348168d1bb750b0773 /indra
parent4be6981c6d8eefb28383358b7a0beaeca8100a0d (diff)
SL-14457 Resolve click-to-move conflict with SL-14717
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/lltoolpie.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/lltoolpie.cpp b/indra/newview/lltoolpie.cpp
index dc13e19dd8..7750a3b084 100644
--- a/indra/newview/lltoolpie.cpp
+++ b/indra/newview/lltoolpie.cpp
@@ -177,9 +177,9 @@ BOOL LLToolPie::handleMouseDown(S32 x, S32 y, MASK mask)
mMouseButtonDown = true;
- handleLeftClickPick();
-
- return TRUE;
+ // If nothing clickable is picked, needs to return
+ // false for click-to-walk or click-to-teleport to work.
+ return handleLeftClickPick();
}
// Spawn context menus on right mouse down so you can drag over and select