summaryrefslogtreecommitdiff
path: root/indra/llplugin/llpluginprocessparent.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2011-08-09 16:00:56 -0700
committerRichard Linden <none@none>2011-08-09 16:00:56 -0700
commit70a872c4a2d27c8f3e85f30c3741db8d36061b9b (patch)
tree518d7f11fda039eb7f6480b1e70c6f8aa11bc9fa /indra/llplugin/llpluginprocessparent.cpp
parentc7a2f5c4fba4ec8a782f96aa379b1372ed31a317 (diff)
EXP-700 WIP SLPlugin(s) takes high CPU%
clamp maximum framerate of slplugin to 100Hz also added assert to catch cases where we're requesting infinite framerate
Diffstat (limited to 'indra/llplugin/llpluginprocessparent.cpp')
-rw-r--r--indra/llplugin/llpluginprocessparent.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llplugin/llpluginprocessparent.cpp b/indra/llplugin/llpluginprocessparent.cpp
index 315096d4fd..110fac0f23 100644
--- a/indra/llplugin/llpluginprocessparent.cpp
+++ b/indra/llplugin/llpluginprocessparent.cpp
@@ -927,6 +927,7 @@ void LLPluginProcessParent::receiveMessage(const LLPluginMessage &message)
}
// Send initial sleep time
+ llassert_always(mSleepTime != 0.f);
setSleepTime(mSleepTime, true);
setState(STATE_RUNNING);