diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2025-09-03 22:29:35 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-09-04 00:16:54 +0300 |
commit | a4f58810f4c4f6e66246426aa3ca120e713049e0 (patch) | |
tree | 8ed3e68cf1c7c62e67c4bbe3edee8e304cceda7f | |
parent | 5593cde0e85d4d4b06efacffb6f00ed2fadb188a (diff) |
#4623 Shared Media on HUDs not loading
Looks like a merge between a commit that affected mScreenPixelArea and a
commit that added a return value resulted in reordered calls.
-rw-r--r-- | indra/newview/llviewercamera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewercamera.cpp b/indra/newview/llviewercamera.cpp index 511293a808..af6c78d8e5 100644 --- a/indra/newview/llviewercamera.cpp +++ b/indra/newview/llviewercamera.cpp @@ -157,9 +157,9 @@ bool LLViewerCamera::updateCameraLocation(const LLVector3 ¢er, const LLVecto // update pixel meter ratio using default fov, not modified one mPixelMeterRatio = (F32)(getViewHeightInPixels()/ (2.f*tanf(mCameraFOVDefault*0.5f))); // update screen pixel area + mScreenPixelArea =(S32)((F32)getViewHeightInPixels() * ((F32)getViewHeightInPixels() * getAspect())); return true; - mScreenPixelArea =(S32)((F32)getViewHeightInPixels() * ((F32)getViewHeightInPixels() * getAspect())); } const LLMatrix4 &LLViewerCamera::getProjection() const |