diff options
| author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-02-12 21:52:06 +0200 | 
|---|---|---|
| committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-02-12 21:52:23 +0200 | 
| commit | f60f12d94ebe3862f5b1eef55795dabc0ba72693 (patch) | |
| tree | 7e29bc7ec2187778c24e85bd7cdf8a593d8e934b /indra | |
| parent | 7a5381b39f0b23649103f393a6d48ad1ab88a2bb (diff) | |
SL-19119 Fix mouse steering
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/lltoolfocus.h | 1 | ||||
| -rw-r--r-- | indra/newview/lltoolpie.cpp | 1 | 
2 files changed, 2 insertions, 0 deletions
| diff --git a/indra/newview/lltoolfocus.h b/indra/newview/lltoolfocus.h index 6615193318..ef71f9230a 100644 --- a/indra/newview/lltoolfocus.h +++ b/indra/newview/lltoolfocus.h @@ -49,6 +49,7 @@ public:  	virtual LLTool*	getOverrideTool(MASK mask) { return NULL; } +    void setClickPickPending() { mClickPickPending = true; }  	static void pickCallback(const LLPickInfo& pick_info);  	BOOL mouseSteerMode() { return mMouseSteering; } diff --git a/indra/newview/lltoolpie.cpp b/indra/newview/lltoolpie.cpp index 5fb83bf08e..58011bbde2 100644 --- a/indra/newview/lltoolpie.cpp +++ b/indra/newview/lltoolpie.cpp @@ -443,6 +443,7 @@ BOOL LLToolPie::handleLeftClickPick()  		LLToolMgr::getInstance()->setTransientTool(LLToolCamera::getInstance());  		gViewerWindow->hideCursor();  		LLToolCamera::getInstance()->setMouseCapture(TRUE); +        LLToolCamera::getInstance()->setClickPickPending();  		LLToolCamera::getInstance()->pickCallback(mPick);  		gAgentCamera.setFocusOnAvatar(TRUE, TRUE); | 
