diff options
author | Palmer Truelson <palmer@lindenlab.com> | 2010-02-23 17:07:18 -0800 |
---|---|---|
committer | Palmer Truelson <palmer@lindenlab.com> | 2010-02-23 17:07:18 -0800 |
commit | 0980df1e0ce99bdafdd4e806cbacad96c71729cc (patch) | |
tree | 20a76a1b07928ac9aa9453765b5c4a92b0b318c7 /indra/newview/llvoclouds.cpp | |
parent | 187acf0c3af6d5fee301137a49993fbc75039f38 (diff) | |
parent | da79eb5545ae0604bad357d71b54e2381fc480e8 (diff) |
merge
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; |