summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerdisplay.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2012-12-19 23:21:31 -0700
committerXiaohong Bao <bao@lindenlab.com>2012-12-19 23:21:31 -0700
commit1fbd45672fcb1e5bfc194712fc7d0d4847a651cd (patch)
tree88c95c6cae2c615f8c08d707b1f73c4e57c7fd36 /indra/newview/llviewerdisplay.cpp
parent4e22f3e3ef15e24d7e9e0ad156e60d4cd1b2d5c9 (diff)
fix for SH-3640: Can not edit objects
Diffstat (limited to 'indra/newview/llviewerdisplay.cpp')
-rw-r--r--indra/newview/llviewerdisplay.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp
index 270ab26149..31b2220fc8 100644
--- a/indra/newview/llviewerdisplay.cpp
+++ b/indra/newview/llviewerdisplay.cpp
@@ -1228,10 +1228,12 @@ void render_ui(F32 zoom_factor, int subfield)
glh_set_current_modelview(glh_copy_matrix(gGLLastModelView));
}
+ if(LLSceneMonitor::getInstance()->needsUpdate())
{
gGL.pushMatrix();
gViewerWindow->setup2DRender();
LLSceneMonitor::getInstance()->compare();
+ gViewerWindow->setup3DRender();
gGL.popMatrix();
}