diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2013-08-16 17:58:41 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2013-08-16 17:58:41 -0600 |
commit | 28151dd8367d558fa2622832eb3819624e19705d (patch) | |
tree | 67112f79e1e389d3fd96e540c503ee1708192bb6 /indra/newview/pipeline.cpp | |
parent | 52086d4485e004999d097cb66fb5cf63e34203d2 (diff) |
fix for SH-4297: interesting: viewer-interesting starts loading cached scene late
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rwxr-xr-x | indra/newview/pipeline.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 6754918149..8d70629206 100755 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -112,6 +112,7 @@ #include "llfloaterpathfindingcharacters.h" #include "llpathfindingpathtool.h" #include "llscenemonitor.h" +#include "llprogressview.h" #ifdef _DEBUG // Debug indices is disabled for now for debug performance - djs 4/24/02 @@ -2535,7 +2536,8 @@ void LLPipeline::updateCull(LLCamera& camera, LLCullResult& result, S32 water_cl LLVOCachePartition* vo_part = region->getVOCachePartition(); if(vo_part) { - vo_part->cull(camera, can_use_occlusion && use_occlusion && !gUseWireframe); + bool do_occlusion_cull = can_use_occlusion && use_occlusion && !gUseWireframe && !gViewerWindow->getProgressView()->getVisible(); + vo_part->cull(camera, do_occlusion_cull); } } |