From 19d23352bd955406b23f19959de71f717dceb798 Mon Sep 17 00:00:00 2001 From: Monroe Linden Date: Tue, 20 Oct 2009 19:37:48 -0700 Subject: 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(-) (limited to 'indra') diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp index a77570826a..ba3d1914a7 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; } } -- cgit v1.2.3