From 19d23352bd955406b23f19959de71f717dceb798 Mon Sep 17 00:00:00 2001
From: Monroe Linden <monroe@lindenlab.com>
Date: Tue, 20 Oct 2009 19:37:48 -0700
Subject: [PATCH] Fix for DEV-41567 (MoaP lags from "WARNING:
 LLViewerMediaImpl::calculateInterest: no texture!" log spam). This log
 statement used to be an anomaly, but now that media can be unloaded it's a
 relatively common case.

---
 indra/newview/llviewermedia.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp
index a77570826af..ba3d1914a7d 100644
--- a/indra/newview/llviewermedia.cpp
+++ b/indra/newview/llviewermedia.cpp
@@ -1653,8 +1653,7 @@ void LLViewerMediaImpl::calculateInterest()
 	}
 	else
 	{
-		// I don't think this case should ever be hit.
-		LL_WARNS("Plugin") << "no texture!" << LL_ENDL;
+		// This will be a relatively common case now, since it will always be true for unloaded media.
 		mInterest = 0.0f;
 	}
 }
-- 
GitLab