diff options
| author | leviathan <leviathan@lindenlab.com> | 2026-09-09 09:00:47 -0700 |
|---|---|---|
| committer | leviathan <leviathan@lindenlab.com> | 2026-10-16 13:14:37 -0700 |
| commit | 147a9d3ef29f786b6949b2efa54de98a7704b360 (patch) | |
| tree | 54fdc0d8ba30a19984044666af7e2efd498c0958 /indra/newview/llviewerwindow.cpp | |
| parent | 668774eb86aeb445e2d903eaeb63948559e9867d (diff) | |
unify camera-mode checks
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
| -rw-r--r-- | indra/newview/llviewerwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 4501819958..b157fefb01 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -4704,7 +4704,7 @@ LLViewerObject* LLViewerWindow::cursorIntersect(S32 mouse_x, S32 mouse_y, F32 de LLVector3 mouse_world_start = mouse_point_global; LLVector3 mouse_world_end = mouse_point_global + mouse_direction_global * depth; - if (!LLViewerJoystick::getInstance()->getOverrideCamera()) + if (!gAgent.isCameraExternallyDriven()) { //always set raycast intersection to mouse_world_end unless //flycam is on (for DoF effect) gDebugRaycastIntersection.load3(mouse_world_end.mV); |
