aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerdisplay.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:55 -0500
committerJacek Antonelli2008-08-15 23:45:55 -0500
commit9063e60aefe54f7c45aaa8cb24e8998b2c7343ab (patch)
tree1c8235465701c910a5d76448ddc8eb1f14457ebc /linden/indra/newview/llviewerdisplay.cpp
parentSecond Life viewer sources 1.20.9 (diff)
downloadmeta-impy-9063e60aefe54f7c45aaa8cb24e8998b2c7343ab.zip
meta-impy-9063e60aefe54f7c45aaa8cb24e8998b2c7343ab.tar.gz
meta-impy-9063e60aefe54f7c45aaa8cb24e8998b2c7343ab.tar.bz2
meta-impy-9063e60aefe54f7c45aaa8cb24e8998b2c7343ab.tar.xz
Second Life viewer sources 1.20.10
Diffstat (limited to 'linden/indra/newview/llviewerdisplay.cpp')
-rw-r--r--linden/indra/newview/llviewerdisplay.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewerdisplay.cpp b/linden/indra/newview/llviewerdisplay.cpp
index b9a5986..e02ff6f 100644
--- a/linden/indra/newview/llviewerdisplay.cpp
+++ b/linden/indra/newview/llviewerdisplay.cpp
@@ -613,7 +613,6 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot)
613 if (!for_snapshot) 613 if (!for_snapshot)
614 { 614 {
615 LLAppViewer::instance()->pingMainloopTimeout("Display:Imagery"); 615 LLAppViewer::instance()->pingMainloopTimeout("Display:Imagery");
616 gPipeline.processImagery(*LLViewerCamera::getInstance());
617 gPipeline.generateWaterReflection(*LLViewerCamera::getInstance()); 616 gPipeline.generateWaterReflection(*LLViewerCamera::getInstance());
618 } 617 }
619 618
@@ -823,6 +822,7 @@ void render_hud_attachments()
823 822
824 //cull, sort, and render hud objects 823 //cull, sort, and render hud objects
825 static LLCullResult result; 824 static LLCullResult result;
825 LLSpatialGroup::sNoDelete = TRUE;
826 gPipeline.updateCull(hud_cam, result); 826 gPipeline.updateCull(hud_cam, result);
827 827
828 gPipeline.toggleRenderType(LLPipeline::RENDER_TYPE_BUMP); 828 gPipeline.toggleRenderType(LLPipeline::RENDER_TYPE_BUMP);
@@ -834,6 +834,8 @@ void render_hud_attachments()
834 834
835 gPipeline.renderGeom(hud_cam); 835 gPipeline.renderGeom(hud_cam);
836 836
837 LLSpatialGroup::sNoDelete = FALSE;
838
837 render_hud_elements(); 839 render_hud_elements();
838 //restore type mask 840 //restore type mask
839 gPipeline.setRenderTypeMask(mask); 841 gPipeline.setRenderTypeMask(mask);