diff options
| author | Tofu Buzzard <no-email> | 2011-03-08 15:53:45 -0800 |
|---|---|---|
| committer | Tofu Buzzard <no-email> | 2011-03-08 15:53:45 -0800 |
| commit | 47f8b357eaa2af76e675c2235a071962f4203b5f (patch) | |
| tree | 00504057141d75f09b38776399ecdb82a38211cd /indra/newview/pipeline.cpp | |
| parent | 0bb51278d8d30c5c2def8166cca16da764ff781b (diff) | |
| parent | ceb8561e49ace81d39209849a6f8a805d2d9d8ed (diff) | |
merge
Diffstat (limited to 'indra/newview/pipeline.cpp')
| -rwxr-xr-x | indra/newview/pipeline.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 6af371072b..c8ef75030d 100755 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -6202,6 +6202,12 @@ void LLPipeline::renderBloom(BOOL for_snapshot, F32 zoom_factor, int subfield) { focus_point = gDebugRaycastIntersection; } + else if (gAgentCamera.cameraMouselook()) + { + gViewerWindow->cursorIntersect(-1, -1, 512.f, NULL, -1, FALSE, + NULL, + &focus_point); + } else { LLViewerObject* obj = gAgentCamera.getFocusObject();
@@ -6209,6 +6215,10 @@ void LLPipeline::renderBloom(BOOL for_snapshot, F32 zoom_factor, int subfield) {
focus_point = LLVector3(gAgentCamera.getFocusGlobal()-gAgent.getRegion()->getOriginGlobal());
} + else + { + focus_point = gDebugRaycastIntersection; + } } } |
