#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.
master
Andrey Kleshchev 2025-09-03 22:29:35 +03:00 committed by Andrey Kleshchev
parent 5593cde0e8
commit a4f58810f4
1 changed files with 1 additions and 1 deletions

View File

@ -157,9 +157,9 @@ bool LLViewerCamera::updateCameraLocation(const LLVector3 &center, 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