From 0a4601b764832f8eed3dece302bcd2fd65d7d4d3 Mon Sep 17 00:00:00 2001 From: minerjr Date: Tue, 11 Mar 2025 23:51:23 -0300 Subject: [PATCH] Added 2 minor fixes for LLFace Added init value for mCloseToCmera for LLFace Changed mCloseToCamera assignment from True to 1.0f (It was a bool at one point) in LLFace --- indra/newview/llface.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 9a7ab65a91..4f95125c5c 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -180,6 +180,9 @@ void LLFace::init(LLDrawable* drawablep, LLViewerObject* objp) mFaceColor = LLColor4(1,0,0,1); mImportanceToCamera = 0.f ; + // [FIRE-35081] Blurry prims not changing with graphics settings, not happening with SL Viewer + mCloseToCamera = 0.0f; + // [FIRE-35081] mBoundingSphereRadius = 0.0f ; mTexExtents[0].set(0, 0); @@ -2517,7 +2520,7 @@ bool LLFace::calcPixelArea(F32& cos_angle_to_view_dir, F32& radius) mImportanceToCamera = 1.0f ; // [FIRE-35081] Blurry prims not changing with graphics settings, not happening with SL Viewer mInFrustum = true; // If the face is important to the camera, it is in the frustum - mCloseToCamera = true; + mCloseToCamera = 1.0f; // [FIRE-35081] } else