Revert PR #107 fix-mouselook-clicking - as per PR#113

This reverts commit 5ed95013e4, reversing
changes made to 3c9cd68cc5.

A new PR based on PR#113 has been pushed upstream to LL to ensure common behaviour going forward
meow-7.2.2
Beq 2025-05-08 23:22:08 +01:00
parent 7cc872cde8
commit 2a06b765dd
1 changed files with 0 additions and 8 deletions

View File

@ -5430,14 +5430,6 @@ LLPickInfo LLViewerWindow::pickImmediate(S32 x, S32 y_from_bot, bool pick_transp
pick_transparent = true;
}
// <FS:Sek> Pick from center of screen in mouselook
if (gAgentCamera.getCameraMode() == CAMERA_MODE_MOUSELOOK)
{
x = gViewerWindow->getWorldViewRectScaled().getWidth() / 2;
y_from_bot = gViewerWindow->getWorldViewRectScaled().getHeight() / 2;
}
// </FS:Sek>
// shortcut queueing in mPicks and just update mLastPick in place
MASK key_mask = gKeyboard->currentMask(true);
mLastPick = LLPickInfo(LLCoordGL(x, y_from_bot), key_mask, pick_transparent, pick_rigged, pick_particle, pick_reflection_probe, true, false, NULL);