summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermedia.cpp
diff options
context:
space:
mode:
authorMonroe Linden <monroe@lindenlab.com>2009-10-20 19:37:48 -0700
committerMonroe Linden <monroe@lindenlab.com>2009-10-20 19:37:48 -0700
commit19d23352bd955406b23f19959de71f717dceb798 (patch)
tree5d7e9d25011d9ab133e575e117f898e94c83b72c /indra/newview/llviewermedia.cpp
parent6b4b69c234a9daf6ec2459065802604f4243e5c3 (diff)
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.
Diffstat (limited to 'indra/newview/llviewermedia.cpp')
-rw-r--r--indra/newview/llviewermedia.cpp3
1 files changed, 1 insertions, 2 deletions
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;
}
}