From 845fe1f83c4967fe1d49715d5f17b61a4adc68ee Mon Sep 17 00:00:00 2001 From: "Jonathan \"Geenz\" Goodman" Date: Mon, 6 Jul 2026 19:01:48 -0400 Subject: Get things working a little more consistently between BP and PBR. Also add some bias controls for the texel-to-pixel ratio based streaming. --- indra/llprimitive/lltextureentry.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'indra/llprimitive/lltextureentry.cpp') diff --git a/indra/llprimitive/lltextureentry.cpp b/indra/llprimitive/lltextureentry.cpp index 5296e86a69..2b0f989701 100644 --- a/indra/llprimitive/lltextureentry.cpp +++ b/indra/llprimitive/lltextureentry.cpp @@ -356,7 +356,6 @@ S32 LLTextureEntry::setScale(F32 s, F32 t) { mScaleS = s; mScaleT = t; - mMinScaleSq = -1.f; // invalidate cache for getMinScaleSq() retval = TEM_CHANGE_TEXTURE; } @@ -369,7 +368,6 @@ S32 LLTextureEntry::setScaleS(F32 s) if (mScaleS != s) { mScaleS = s; - mMinScaleSq = -1.f; // invalidate cache for getMinScaleSq() retval = TEM_CHANGE_TEXTURE; } return retval; @@ -381,22 +379,11 @@ S32 LLTextureEntry::setScaleT(F32 t) if (mScaleT != t) { mScaleT = t; - mMinScaleSq = -1.f; // invalidate cache for getMinScaleSq() retval = TEM_CHANGE_TEXTURE; } return retval; } -F32 LLTextureEntry::getMinScaleSq() const -{ - if (mMinScaleSq < 0.f) - { - F32 m = llmin(fabsf(mScaleS), fabsf(mScaleT)); - mMinScaleSq = m * m; - } - return mMinScaleSq; -} - S32 LLTextureEntry::setColor(const LLColor4 &color) { if (mColor != color) -- cgit v1.3