diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-13 12:48:42 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-13 12:48:42 +0000 |
commit | 827c1adc917d832b577b37e37b0eb3f26705c29d (patch) | |
tree | f63793ae6b972f6205b07769dd7abc9c91690d71 /indra/newview/llvoclouds.cpp | |
parent | 1f672990e796ec55f7b684dbf46f939d1ab15607 (diff) |
Backed out changeset d89b00b44ab6
Diffstat (limited to 'indra/newview/llvoclouds.cpp')
-rw-r--r-- | indra/newview/llvoclouds.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llvoclouds.cpp b/indra/newview/llvoclouds.cpp index 177cb16c50..5153cef709 100644 --- a/indra/newview/llvoclouds.cpp +++ b/indra/newview/llvoclouds.cpp @@ -77,9 +77,11 @@ BOOL LLVOClouds::isActive() const return TRUE; } - BOOL LLVOClouds::idleUpdate(LLAgent &agent, LLWorld &world, const F64 &time) { + static LLFastTimer::DeclareTimer ftm("Idle Clouds"); + LLFastTimer t(ftm); + if (!(gPipeline.hasRenderType(LLPipeline::RENDER_TYPE_CLOUDS))) { return TRUE; |